#AF59E9#AF59E9

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

Color values

HEX#AF59E9
RGBrgb(175, 89, 233)
HSLhsl(276, 77%, 63%)
HSVhsv(276, 62%, 91%)
CMYKcmyk(24.9%, 61.8%, 0%, 8.6%)
CIE-LABlab(54.18, 59.13, -59.06)
CIE-LCHlch(54.18, 83.57, 315.03°)
OKLaboklab(63.05% 0.1351 -0.1666)
OKLCHoklch(63.05% 0.215 309)
XYZxyz(35.9566, 22.1425, 79.4547)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59E9 #93E959
analogous
#6759E9 #AF59E9 #E959DB
triadic
#AF59E9 #E9AF59 #59E9AF
tetradic
#AF59E9 #E96759 #93E959 #59DBE9
square
#AF59E9 #E96759 #93E959 #59DBE9
split-complementary
#AF59E9 #DBE959 #59E967
monochromatic
#7317B0 #9523E2 #AF59E9 #C98FF0 #E3C5F7

Accessibility & contrast

On white

3.87
#AF59E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#AF59E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59E9
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59E9#FFFFFF#000000##000000
##AF59E91.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B7EED
Deuteranopia (green-blind)
#4483E6
Tritanopia (blue-blind)
#A77699
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af59e9;
/* rgb */ color: rgb(175, 89, 233);
/* oklch */ color: oklch(63.0% 0.215 309.0);
Tailwind
colors: {
  custom: {
    50: '#cb8cf1',
    500: '#af59e9',
    950: '#000000',
  },
}
SCSS
$custom: #af59e9;
$custom-light: #cb8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#af59e9",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 233
  },
  "hsl": {
    "h": 275.833,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6305,
    "c": 0.21454,
    "h": 309
  },
  "luminance": 0.22142
}

Semantic roles & 50–950 ramp

primary
#AF59E9
secondary
#CAE9B5
accent
#D90D5F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AF59E9

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

Preview Lab → · Contrast checker → · Palette generator →

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