#AF62CF#AF62CF

#AF62CF is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.7% C 0.174 H 315.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AF62CF
RGBrgb(175, 98, 207)
HSLhsl(282, 53%, 60%)
HSVhsv(282, 53%, 81%)
CMYKcmyk(15.5%, 52.7%, 0%, 18.8%)
CIE-LABlab(54.40, 49.05, -44.01)
CIE-LCHlch(54.40, 65.90, 318.10°)
OKLaboklab(62.75% 0.1231 -0.1227)
OKLCHoklch(62.75% 0.174 315.1)
XYZxyz(33.3076, 22.3553, 61.5798)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62CF #82CF62
analogous
#7862CF #AF62CF #CF62B9
triadic
#AF62CF #CFAF62 #62CFAF
tetradic
#AF62CF #CF7862 #82CF62 #62B9CF
square
#AF62CF #CF7862 #82CF62 #62B9CF
split-complementary
#AF62CF #B9CF62 #62CF78
monochromatic
#6F2B8C #9539BB #AF62CF #C791DD #DFC0EC

Accessibility & contrast

On white

3.84
#AF62CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#AF62CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF62CF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF62CF#FFFFFF#000000##000000
##AF62CF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ED3
Deuteranopia (green-blind)
#6184CC
Tritanopia (blue-blind)
#AD738F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af62cf;
/* rgb */ color: rgb(175, 98, 207);
/* oklch */ color: oklch(62.7% 0.174 315.1);
Tailwind
colors: {
  custom: {
    50: '#c991de',
    500: '#af62cf',
    950: '#000000',
  },
}
SCSS
$custom: #af62cf;
$custom-light: #c991de;
$custom-dark: #000000;
JSON
{
  "hex": "#af62cf",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 282.385,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62746,
    "c": 0.17381,
    "h": 315.1
  },
  "luminance": 0.22354
}

Semantic roles & 50–950 ramp

primary
#AF62CF
secondary
#BEDBB1
accent
#DD4B76
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF62CF

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

Preview Lab → · Contrast checker → · Palette generator →

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