#AF3FCE#AF3FCE

#AF3FCE is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.222 H 318.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AF3FCE
RGBrgb(175, 63, 206)
HSLhsl(287, 59%, 53%)
HSVhsv(287, 69%, 81%)
CMYKcmyk(15%, 69.4%, 0%, 19.2%)
CIE-LABlab(48.42, 65.00, -52.97)
CIE-LCHlch(48.42, 83.85, 320.82°)
OKLaboklab(58.38% 0.1652 -0.1486)
OKLCHoklch(58.38% 0.222 318)
XYZxyz(30.5957, 17.1265, 60.0747)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FCE #5ECE3F
analogous
#673FCE #AF3FCE #CE3FA5
triadic
#AF3FCE #CEAF3F #3FCEAF
tetradic
#AF3FCE #CE673F #5ECE3F #3FA5CE
square
#AF3FCE #CE673F #5ECE3F #3FA5CE
split-complementary
#AF3FCE #A5CE3F #3FCE67
monochromatic
#621E75 #8B2AA6 #AF3FCE #C370DA #D8A1E7

Accessibility & contrast

On white

4.75
#AF3FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AF3FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FCE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FCE#FFFFFF#000000##FFFFFF
##AF3FCE1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#4576CB
Tritanopia (blue-blind)
#AE5B82
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3fce;
/* rgb */ color: rgb(175, 63, 206);
/* oklch */ color: oklch(58.4% 0.222 318.0);
Tailwind
colors: {
  custom: {
    50: '#cb7dde',
    500: '#af3fce',
    950: '#000000',
  },
}
SCSS
$custom: #af3fce;
$custom-light: #cb7dde;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fce",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 286.993,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58381,
    "c": 0.22223,
    "h": 318
  },
  "luminance": 0.17125
}

Semantic roles & 50–950 ramp

primary
#AF3FCE
secondary
#A3D395
accent
#E34567
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3FCE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AF3FCE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva