#AF59DA#AF59DA

#AF59DA is a light, vivid purple. Relative luminance 0.213; OKLCH L 62.1% C 0.199 H 312.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AF59DA
RGBrgb(175, 89, 218)
HSLhsl(280, 64%, 60%)
HSVhsv(280, 59%, 85%)
CMYKcmyk(19.7%, 59.2%, 0%, 14.5%)
CIE-LABlab(53.30, 55.90, -52.01)
CIE-LCHlch(53.30, 76.35, 317.06°)
OKLaboklab(62.13% 0.1353 -0.146)
OKLCHoklch(62.13% 0.199 312.8)
XYZxyz(33.9043, 21.3216, 68.6455)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59DA #84DA59
analogous
#6E59DA #AF59DA #DA59C5
triadic
#AF59DA #DAAF59 #59DAAF
tetradic
#AF59DA #DA6E59 #84DA59 #59C5DA
square
#AF59DA #DA6E59 #84DA59 #59C5DA
split-complementary
#AF59DA #C5DA59 #59DA6E
monochromatic
#702297 #952DC9 #AF59DA #C78BE5 #DFBDF0

Accessibility & contrast

On white

3.99
#AF59DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#AF59DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59DA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59DA#FFFFFF#000000##000000
##AF59DA1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7BDE
Deuteranopia (green-blind)
#5281D7
Tritanopia (blue-blind)
#AB7091
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af59da;
/* rgb */ color: rgb(175, 89, 218);
/* oklch */ color: oklch(62.1% 0.199 312.8);
Tailwind
colors: {
  custom: {
    50: '#ca8ce6',
    500: '#af59da',
    950: '#000000',
  },
}
SCSS
$custom: #af59da;
$custom-light: #ca8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#af59da",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 218
  },
  "hsl": {
    "h": 280,
    "s": 63.547,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6213,
    "c": 0.19903,
    "h": 312.8
  },
  "luminance": 0.21321
}

Semantic roles & 50–950 ramp

primary
#AF59DA
secondary
#BFE0AF
accent
#CB1A55
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF59DA

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

Preview Lab → · Contrast checker → · Palette generator →

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