#AF59D9#AF59D9

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

Color values

HEX#AF59D9
RGBrgb(175, 89, 217)
HSLhsl(280, 63%, 60%)
HSVhsv(280, 59%, 85%)
CMYKcmyk(19.4%, 59%, 0%, 14.9%)
CIE-LABlab(53.24, 55.69, -51.53)
CIE-LCHlch(53.24, 75.87, 317.22°)
OKLaboklab(62.07% 0.1353 -0.1446)
OKLCHoklch(62.07% 0.198 313.1)
XYZxyz(33.7738, 21.2694, 67.9585)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59D9 #83D959
analogous
#6F59D9 #AF59D9 #D959C3
triadic
#AF59D9 #D9AF59 #59D9AF
tetradic
#AF59D9 #D96F59 #83D959 #59C3D9
square
#AF59D9 #D96F59 #83D959 #59C3D9
split-complementary
#AF59D9 #C3D959 #59D96F
monochromatic
#702295 #952EC7 #AF59D9 #C78BE4 #DFBDF0

Accessibility & contrast

On white

4.00
#AF59D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#AF59D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59D9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59D9#FFFFFF#000000##000000
##AF59D91.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af59d9;
/* rgb */ color: rgb(175, 89, 217);
/* oklch */ color: oklch(62.1% 0.198 313.1);
Tailwind
colors: {
  custom: {
    50: '#ca8ce5',
    500: '#af59d9',
    950: '#000000',
  },
}
SCSS
$custom: #af59d9;
$custom-light: #ca8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#af59d9",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 217
  },
  "hsl": {
    "h": 280.313,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.62071,
    "c": 0.19801,
    "h": 313.1
  },
  "luminance": 0.21268
}

Semantic roles & 50–950 ramp

primary
#AF59D9
secondary
#BEE0AE
accent
#E64278
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF59D9

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

Preview Lab → · Contrast checker → · Palette generator →

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