#AF62CE#AF62CE

#AF62CE is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.7% C 0.173 H 315.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AF62CE
RGBrgb(175, 98, 206)
HSLhsl(283, 52%, 60%)
HSVhsv(283, 52%, 81%)
CMYKcmyk(15%, 52.4%, 0%, 19.2%)
CIE-LABlab(54.35, 48.84, -43.52)
CIE-LCHlch(54.35, 65.42, 318.30°)
OKLaboklab(62.69% 0.123 -0.1213)
OKLCHoklch(62.69% 0.173 315.4)
XYZxyz(33.1857, 22.3066, 60.9380)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62CE #81CE62
analogous
#7962CE #AF62CE #CE62B7
triadic
#AF62CE #CEAF62 #62CEAF
tetradic
#AF62CE #CE7962 #81CE62 #62B7CE
square
#AF62CE #CE7962 #81CE62 #62B7CE
split-complementary
#AF62CE #B7CE62 #62CE79
monochromatic
#6F2B8A #953AB9 #AF62CE #C791DD #DFBFEB

Accessibility & contrast

On white

3.85
#AF62CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#AF62CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF62CE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF62CE#FFFFFF#000000##000000
##AF62CE1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD2
Deuteranopia (green-blind)
#6284CB
Tritanopia (blue-blind)
#AD738F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af62ce;
/* rgb */ color: rgb(175, 98, 206);
/* oklch */ color: oklch(62.7% 0.173 315.4);
Tailwind
colors: {
  custom: {
    50: '#c991dd',
    500: '#af62ce',
    950: '#000000',
  },
}
SCSS
$custom: #af62ce;
$custom-light: #c991dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af62ce",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 282.778,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62692,
    "c": 0.17274,
    "h": 315.4
  },
  "luminance": 0.22306
}

Semantic roles & 50–950 ramp

primary
#AF62CE
secondary
#BDDBB1
accent
#DC4C75
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF62CE

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

Preview Lab → · Contrast checker → · Palette generator →

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