#AF59F5#AF59F5

#AF59F5 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.8% C 0.227 H 306.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AF59F5
RGBrgb(175, 89, 245)
HSLhsl(273, 89%, 65%)
HSVhsv(273, 64%, 96%)
CMYKcmyk(28.6%, 63.7%, 0%, 3.9%)
CIE-LABlab(54.92, 61.78, -64.58)
CIE-LCHlch(54.92, 89.37, 313.73°)
OKLaboklab(63.82% 0.1345 -0.1828)
OKLCHoklch(63.82% 0.227 306.3)
XYZxyz(37.7295, 22.8517, 88.7917)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59F5 #9FF559
analogous
#6159F5 #AF59F5 #F559ED
triadic
#AF59F5 #F5AF59 #59F5AF
tetradic
#AF59F5 #F56159 #9FF559 #59EDF5
square
#AF59F5 #F56159 #9FF559 #59EDF5
split-complementary
#AF59F5 #EDF559 #59F561
monochromatic
#730CC8 #931FF2 #AF59F5 #CB93F8 #E7CCFC

Accessibility & contrast

On white

3.77
#AF59F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AF59F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59F5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59F5#FFFFFF#000000##000000
##AF59F51.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#3584F2
Tritanopia (blue-blind)
#A37A9F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af59f5;
/* rgb */ color: rgb(175, 89, 245);
/* oklch */ color: oklch(63.8% 0.227 306.3);
Tailwind
colors: {
  custom: {
    50: '#cb8df9',
    500: '#af59f5',
    950: '#000000',
  },
}
SCSS
$custom: #af59f5;
$custom-light: #cb8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#af59f5",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 245
  },
  "hsl": {
    "h": 273.077,
    "s": 88.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63823,
    "c": 0.22698,
    "h": 306.3
  },
  "luminance": 0.22851
}

Semantic roles & 50–950 ramp

primary
#AF59F5
secondary
#D2EFBB
accent
#E50067
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #AF59F5

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

Preview Lab → · Contrast checker → · Palette generator →

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