#AF59F9#AF59F9

#AF59F9 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.1% C 0.231 H 305.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AF59F9
RGBrgb(175, 89, 249)
HSLhsl(272, 93%, 66%)
HSVhsv(272, 64%, 98%)
CMYKcmyk(29.7%, 64.3%, 0%, 2.4%)
CIE-LABlab(55.17, 62.68, -66.39)
CIE-LCHlch(55.17, 91.30, 313.35°)
OKLaboklab(64.09% 0.1342 -0.1882)
OKLCHoklch(64.09% 0.231 305.5)
XYZxyz(38.3467, 23.0985, 92.0425)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59F9 #A3F959
analogous
#5F59F9 #AF59F9 #F959F3
triadic
#AF59F9 #F9AF59 #59F9AF
tetradic
#AF59F9 #F95F59 #A3F959 #59F3F9
square
#AF59F9 #F95F59 #A3F959 #59F3F9
split-complementary
#AF59F9 #F3F959 #59F95F
monochromatic
#7308D0 #931EF7 #AF59F9 #CB94FB #E8CFFD

Accessibility & contrast

On white

3.74
#AF59F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#AF59F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59F9
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59F9#FFFFFF#000000##000000
##AF59F91.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FE
Deuteranopia (green-blind)
#2E84F5
Tritanopia (blue-blind)
#A27BA2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af59f9;
/* rgb */ color: rgb(175, 89, 249);
/* oklch */ color: oklch(64.1% 0.231 305.5);
Tailwind
colors: {
  custom: {
    50: '#cc8dfc',
    500: '#af59f9',
    950: '#000000',
  },
}
SCSS
$custom: #af59f9;
$custom-light: #cc8dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#af59f9",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 249
  },
  "hsl": {
    "h": 272.25,
    "s": 93.023,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64088,
    "c": 0.23112,
    "h": 305.5
  },
  "luminance": 0.23098
}

Semantic roles & 50–950 ramp

primary
#AF59F9
secondary
#D5F1BD
accent
#E6006A
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D18
muted
#837D86

Preview Lab

Preview with #AF59F9

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

Preview Lab → · Contrast checker → · Palette generator →

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