#AF62DD#AF62DD

#AF62DD is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.5% C 0.189 H 311.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AF62DD
RGBrgb(175, 98, 221)
HSLhsl(278, 64%, 63%)
HSVhsv(278, 56%, 87%)
CMYKcmyk(20.8%, 55.7%, 0%, 13.3%)
CIE-LABlab(55.14, 52.05, -50.77)
CIE-LCHlch(55.14, 72.71, 315.72°)
OKLaboklab(63.53% 0.124 -0.1424)
OKLCHoklch(63.53% 0.189 311.1)
XYZxyz(35.0956, 23.0705, 70.9968)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62DD #90DD62
analogous
#7162DD #AF62DD #DD62CD
triadic
#AF62DD #DDAF62 #62DDAF
tetradic
#AF62DD #DD7162 #90DD62 #62CDDD
square
#AF62DD #DD7162 #90DD62 #62CDDD
split-complementary
#AF62DD #CDDD62 #62DD71
monochromatic
#7223A2 #9530D2 #AF62DD #C994E8 #E2C7F3

Accessibility & contrast

On white

3.74
#AF62DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#AF62DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF62DD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF62DD#FFFFFF#000000##000000
##AF62DD1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E1
Deuteranopia (green-blind)
#5886DA
Tritanopia (blue-blind)
#AA7896
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af62dd;
/* rgb */ color: rgb(175, 98, 221);
/* oklch */ color: oklch(63.5% 0.189 311.1);
Tailwind
colors: {
  custom: {
    50: '#ca92e8',
    500: '#af62dd',
    950: '#000000',
  },
}
SCSS
$custom: #af62dd;
$custom-light: #ca92e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af62dd",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 277.561,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63533,
    "c": 0.18883,
    "h": 311.1
  },
  "luminance": 0.2307
}

Semantic roles & 50–950 ramp

primary
#AF62DD
secondary
#C8E4B7
accent
#CC195C
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF62DD

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

Preview Lab → · Contrast checker → · Palette generator →

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