#AF59EE#AF59EE

#AF59EE is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.4% C 0.220 H 307.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AF59EE
RGBrgb(175, 89, 238)
HSLhsl(275, 81%, 64%)
HSVhsv(275, 63%, 93%)
CMYKcmyk(26.5%, 62.6%, 0%, 6.7%)
CIE-LABlab(54.48, 60.23, -61.37)
CIE-LCHlch(54.48, 85.99, 314.46°)
OKLaboklab(63.37% 0.1349 -0.1734)
OKLCHoklch(63.37% 0.22 307.9)
XYZxyz(36.6810, 22.4323, 83.2698)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59EE #98EE59
analogous
#6559EE #AF59EE #EE59E3
triadic
#AF59EE #EEAF59 #59EEAF
tetradic
#AF59EE #EE6559 #98EE59 #59E3EE
square
#AF59EE #EE6559 #98EE59 #59E3EE
split-complementary
#AF59EE #E3EE59 #59EE65
monochromatic
#7313BA #9421E8 #AF59EE #CA91F4 #E5C8F9

Accessibility & contrast

On white

3.83
#AF59EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AF59EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59EE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59EE#FFFFFF#000000##000000
##AF59EE1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#3E83EB
Tritanopia (blue-blind)
#A5779C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af59ee;
/* rgb */ color: rgb(175, 89, 238);
/* oklch */ color: oklch(63.4% 0.220 307.9);
Tailwind
colors: {
  custom: {
    50: '#cb8df4',
    500: '#af59ee',
    950: '#000000',
  },
}
SCSS
$custom: #af59ee;
$custom-light: #cb8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#af59ee",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 274.631,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63369,
    "c": 0.21972,
    "h": 307.9
  },
  "luminance": 0.22432
}

Semantic roles & 50–950 ramp

primary
#AF59EE
secondary
#CDEBB7
accent
#DE0862
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AF59EE

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

Preview Lab → · Contrast checker → · Palette generator →

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