#AF62CB#AF62CB

#AF62CB is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.5% C 0.170 H 316.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AF62CB
RGBrgb(175, 98, 203)
HSLhsl(284, 50%, 59%)
HSVhsv(284, 52%, 80%)
CMYKcmyk(13.8%, 51.7%, 0%, 20.4%)
CIE-LABlab(54.20, 48.22, -42.05)
CIE-LCHlch(54.20, 63.98, 318.91°)
OKLaboklab(62.53% 0.1227 -0.117)
OKLCHoklch(62.53% 0.17 316.4)
XYZxyz(32.8248, 22.1622, 59.0370)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62CB #7ECB62
analogous
#7B62CB #AF62CB #CB62B3
triadic
#AF62CB #CBAF62 #62CBAF
tetradic
#AF62CB #CB7B62 #7ECB62 #62B3CB
square
#AF62CB #CB7B62 #7ECB62 #62B3CB
split-complementary
#AF62CB #B3CB62 #62CB7B
monochromatic
#6E2C86 #943CB4 #AF62CB #C690DA #DEBEE9

Accessibility & contrast

On white

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

On black

5.43
#AF62CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF62CB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF62CB#FFFFFF#000000##000000
##AF62CB1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCF
Deuteranopia (green-blind)
#6484C8
Tritanopia (blue-blind)
#AE728D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af62cb;
/* rgb */ color: rgb(175, 98, 203);
/* oklch */ color: oklch(62.5% 0.170 316.4);
Tailwind
colors: {
  custom: {
    50: '#c991db',
    500: '#af62cb',
    950: '#000000',
  },
}
SCSS
$custom: #af62cb;
$custom-light: #c991db;
$custom-dark: #000000;
JSON
{
  "hex": "#af62cb",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 284,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6253,
    "c": 0.16955,
    "h": 316.4
  },
  "luminance": 0.22161
}

Semantic roles & 50–950 ramp

primary
#AF62CB
secondary
#BBD9B0
accent
#DA4E73
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF62CB

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

Preview Lab → · Contrast checker → · Palette generator →

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