#AF62EA#AF62EA

#AF62EA is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.3% C 0.203 H 307.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AF62EA
RGBrgb(175, 98, 234)
HSLhsl(274, 76%, 65%)
HSVhsv(274, 58%, 92%)
CMYKcmyk(25.2%, 58.1%, 0%, 8.2%)
CIE-LABlab(55.88, 54.92, -56.90)
CIE-LCHlch(55.88, 79.08, 313.99°)
OKLaboklab(64.31% 0.1244 -0.1603)
OKLCHoklch(64.31% 0.203 307.8)
XYZxyz(36.8951, 23.7903, 80.4743)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62EA #9DEA62
analogous
#6B62EA #AF62EA #EA62E1
triadic
#AF62EA #EAAF62 #62EAAF
tetradic
#AF62EA #EA6B62 #9DEA62 #62E1EA
square
#AF62EA #EA6B62 #9DEA62 #62E1EA
split-complementary
#AF62EA #E1EA62 #62EA6B
monochromatic
#7319B9 #932CE3 #AF62EA #CB98F1 #E6CEF8

Accessibility & contrast

On white

3.65
#AF62EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#AF62EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF62EA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF62EA#FFFFFF#000000##000000
##AF62EA1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C83EE
Deuteranopia (green-blind)
#4D87E7
Tritanopia (blue-blind)
#A67C9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af62ea;
/* rgb */ color: rgb(175, 98, 234);
/* oklch */ color: oklch(64.3% 0.203 307.8);
Tailwind
colors: {
  custom: {
    50: '#ca92f1',
    500: '#af62ea',
    950: '#000000',
  },
}
SCSS
$custom: #af62ea;
$custom-light: #ca92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af62ea",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 273.971,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64305,
    "c": 0.20291,
    "h": 307.8
  },
  "luminance": 0.2379
}

Semantic roles & 50–950 ramp

primary
#AF62EA
secondary
#D1EBBD
accent
#D90D65
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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