#AF62CA#AF62CA

#AF62CA is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.5% C 0.169 H 316.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AF62CA
RGBrgb(175, 98, 202)
HSLhsl(284, 50%, 59%)
HSVhsv(284, 51%, 79%)
CMYKcmyk(13.4%, 51.5%, 0%, 20.8%)
CIE-LABlab(54.15, 48.01, -41.56)
CIE-LCHlch(54.15, 63.50, 319.12°)
OKLaboklab(62.48% 0.1226 -0.1156)
OKLCHoklch(62.48% 0.169 316.7)
XYZxyz(32.7060, 22.1147, 58.4114)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62CA #7DCA62
analogous
#7B62CA #AF62CA #CA62B1
triadic
#AF62CA #CAAF62 #62CAAF
tetradic
#AF62CA #CA7B62 #7DCA62 #62B1CA
square
#AF62CA #CA7B62 #7DCA62 #62B1CA
split-complementary
#AF62CA #B1CA62 #62CA7B
monochromatic
#6E2D85 #943CB3 #AF62CA #C690D9 #DEBEE9

Accessibility & contrast

On white

3.87
#AF62CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#AF62CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF62CA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF62CA#FFFFFF#000000##000000
##AF62CA1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCD
Deuteranopia (green-blind)
#6484C7
Tritanopia (blue-blind)
#AE728D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af62ca;
/* rgb */ color: rgb(175, 98, 202);
/* oklch */ color: oklch(62.5% 0.169 316.7);
Tailwind
colors: {
  custom: {
    50: '#c991da',
    500: '#af62ca',
    950: '#000000',
  },
}
SCSS
$custom: #af62ca;
$custom-light: #c991da;
$custom-dark: #000000;
JSON
{
  "hex": "#af62ca",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 284.423,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62476,
    "c": 0.1685,
    "h": 316.7
  },
  "luminance": 0.22114
}

Semantic roles & 50–950 ramp

primary
#AF62CA
secondary
#BAD8AF
accent
#D94F73
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF62CA

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

Preview Lab → · Contrast checker → · Palette generator →

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