#AF59DB#AF59DB

#AF59DB is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.2% C 0.200 H 312.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AF59DB
RGBrgb(175, 89, 219)
HSLhsl(280, 64%, 60%)
HSVhsv(280, 59%, 86%)
CMYKcmyk(20.1%, 59.4%, 0%, 14.1%)
CIE-LABlab(53.36, 56.11, -52.49)
CIE-LCHlch(53.36, 76.83, 316.91°)
OKLaboklab(62.19% 0.1353 -0.1474)
OKLCHoklch(62.19% 0.2 312.6)
XYZxyz(34.0355, 21.3741, 69.3368)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59DB #85DB59
analogous
#6E59DB #AF59DB #DB59C6
triadic
#AF59DB #DBAF59 #59DBAF
tetradic
#AF59DB #DB6E59 #85DB59 #59C6DB
square
#AF59DB #DB6E59 #85DB59 #59C6DB
split-complementary
#AF59DB #C6DB59 #59DB6E
monochromatic
#702199 #952CCB #AF59DB #C78BE6 #DFBEF1

Accessibility & contrast

On white

3.98
#AF59DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#AF59DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59DB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59DB#FFFFFF#000000##000000
##AF59DB1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7BDF
Deuteranopia (green-blind)
#5181D8
Tritanopia (blue-blind)
#AA7192
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af59db;
/* rgb */ color: rgb(175, 89, 219);
/* oklch */ color: oklch(62.2% 0.200 312.6);
Tailwind
colors: {
  custom: {
    50: '#ca8ce7',
    500: '#af59db',
    950: '#000000',
  },
}
SCSS
$custom: #af59db;
$custom-light: #ca8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#af59db",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 279.692,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6219,
    "c": 0.20006,
    "h": 312.6
  },
  "luminance": 0.21373
}

Semantic roles & 50–950 ramp

primary
#AF59DB
secondary
#C0E1AF
accent
#CC1956
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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