#AF59E4#AF59E4

#AF59E4 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.7% C 0.209 H 310.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AF59E4
RGBrgb(175, 89, 228)
HSLhsl(277, 72%, 62%)
HSVhsv(277, 61%, 89%)
CMYKcmyk(23.2%, 61%, 0%, 10.6%)
CIE-LABlab(53.88, 58.04, -56.73)
CIE-LCHlch(53.88, 81.16, 315.65°)
OKLaboklab(62.74% 0.1353 -0.1598)
OKLCHoklch(62.74% 0.209 310.2)
XYZxyz(35.2525, 21.8609, 75.7462)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59E4 #8EE459
analogous
#6959E4 #AF59E4 #E459D4
triadic
#AF59E4 #E4AF59 #59E4AF
tetradic
#AF59E4 #E46959 #8EE459 #59D4E4
square
#AF59E4 #E46959 #8EE459 #59D4E4
split-complementary
#AF59E4 #D4E459 #59E469
monochromatic
#721BA7 #9624DB #AF59E4 #C88EED #E2C2F5

Accessibility & contrast

On white

3.91
#AF59E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#AF59E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59E4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59E4#FFFFFF#000000##000000
##AF59E41.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7DE8
Deuteranopia (green-blind)
#4982E1
Tritanopia (blue-blind)
#A87496
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af59e4;
/* rgb */ color: rgb(175, 89, 228);
/* oklch */ color: oklch(62.7% 0.209 310.2);
Tailwind
colors: {
  custom: {
    50: '#ca8ced',
    500: '#af59e4',
    950: '#000000',
  },
}
SCSS
$custom: #af59e4;
$custom-light: #ca8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#af59e4",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 277.122,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62738,
    "c": 0.20936,
    "h": 310.2
  },
  "luminance": 0.2186
}

Semantic roles & 50–950 ramp

primary
#AF59E4
secondary
#C6E6B3
accent
#D4115C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF59E4

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

Preview Lab → · Contrast checker → · Palette generator →

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