#AF64EA#AF64EA

#AF64EA is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.6% C 0.200 H 307.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AF64EA
RGBrgb(175, 100, 234)
HSLhsl(274, 76%, 65%)
HSVhsv(274, 57%, 92%)
CMYKcmyk(25.2%, 57.3%, 0%, 8.2%)
CIE-LABlab(56.26, 53.91, -56.29)
CIE-LCHlch(56.26, 77.94, 313.76°)
OKLaboklab(64.58% 0.1219 -0.1586)
OKLCHoklch(64.58% 0.2 307.6)
XYZxyz(37.0846, 24.1693, 80.5374)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64EA #9FEA64
analogous
#6C64EA #AF64EA #EA64E2
triadic
#AF64EA #EAAF64 #64EAAF
tetradic
#AF64EA #EA6C64 #9FEA64 #64E2EA
square
#AF64EA #EA6C64 #9FEA64 #64E2EA
split-complementary
#AF64EA #E2EA64 #64EA6C
monochromatic
#7319BA #932EE3 #AF64EA #CB9AF1 #E7D0F9

Accessibility & contrast

On white

3.60
#AF64EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#AF64EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64EA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64EA#FFFFFF#000000##000000
##AF64EA1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EE
Deuteranopia (green-blind)
#5088E7
Tritanopia (blue-blind)
#A67D9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af64ea;
/* rgb */ color: rgb(175, 100, 234);
/* oklch */ color: oklch(64.6% 0.200 307.6);
Tailwind
colors: {
  custom: {
    50: '#ca93f1',
    500: '#af64ea',
    950: '#000000',
  },
}
SCSS
$custom: #af64ea;
$custom-light: #ca93f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af64ea",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 273.582,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64583,
    "c": 0.20001,
    "h": 307.6
  },
  "luminance": 0.24169
}

Semantic roles & 50–950 ramp

primary
#AF64EA
secondary
#D2EBBE
accent
#D80D67
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF64EA

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

Preview Lab → · Contrast checker → · Palette generator →

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