#AF59E8#AF59E8

#AF59E8 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.0% C 0.213 H 309.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AF59E8
RGBrgb(175, 89, 232)
HSLhsl(276, 76%, 63%)
HSVhsv(276, 62%, 91%)
CMYKcmyk(24.6%, 61.6%, 0%, 9%)
CIE-LABlab(54.12, 58.91, -58.60)
CIE-LCHlch(54.12, 83.09, 315.15°)
OKLaboklab(62.99% 0.1352 -0.1653)
OKLCHoklch(62.99% 0.214 309.3)
XYZxyz(35.8142, 22.0855, 78.7045)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59E8 #92E859
analogous
#6759E8 #AF59E8 #E859D9
triadic
#AF59E8 #E8AF59 #59E8AF
tetradic
#AF59E8 #E86759 #92E859 #59D9E8
square
#AF59E8 #E86759 #92E859 #59D9E8
split-complementary
#AF59E8 #D9E859 #59E867
monochromatic
#7318AE #9523E1 #AF59E8 #C98FEF #E3C5F7

Accessibility & contrast

On white

3.88
#AF59E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#AF59E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59E8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59E8#FFFFFF#000000##000000
##AF59E81.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#107EEC
Deuteranopia (green-blind)
#4583E5
Tritanopia (blue-blind)
#A77599
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af59e8;
/* rgb */ color: rgb(175, 89, 232);
/* oklch */ color: oklch(63.0% 0.213 309.3);
Tailwind
colors: {
  custom: {
    50: '#cb8cf0',
    500: '#af59e8',
    950: '#000000',
  },
}
SCSS
$custom: #af59e8;
$custom-light: #cb8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#af59e8",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 232
  },
  "hsl": {
    "h": 276.084,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62988,
    "c": 0.2135,
    "h": 309.3
  },
  "luminance": 0.22085
}

Semantic roles & 50–950 ramp

primary
#AF59E8
secondary
#C9E8B5
accent
#D80E5E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AF59E8

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

Preview Lab → · Contrast checker → · Palette generator →

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