#AF59C8#AF59C8

#AF59C8 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.1% C 0.181 H 318.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AF59C8
RGBrgb(175, 89, 200)
HSLhsl(286, 50%, 57%)
HSVhsv(286, 56%, 78%)
CMYKcmyk(12.5%, 55.5%, 0%, 21.6%)
CIE-LABlab(52.32, 52.17, -43.31)
CIE-LCHlch(52.32, 67.81, 320.30°)
OKLaboklab(61.1% 0.1345 -0.1206)
OKLCHoklch(61.1% 0.181 318.1)
XYZxyz(31.6755, 20.4301, 56.9072)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59C8 #72C859
analogous
#7859C8 #AF59C8 #C859AA
triadic
#AF59C8 #C8AF59 #59C8AF
tetradic
#AF59C8 #C87859 #72C859 #59AAC8
square
#AF59C8 #C87859 #72C859 #59AAC8
split-complementary
#AF59C8 #AAC859 #59C878
monochromatic
#6A297D #9139AB #AF59C8 #C587D7 #DBB5E6

Accessibility & contrast

On white

4.13
#AF59C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#AF59C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59C8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59C8#FFFFFF#000000##000000
##AF59C81.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4177CC
Deuteranopia (green-blind)
#5E80C5
Tritanopia (blue-blind)
#AF6A88
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #af59c8;
/* rgb */ color: rgb(175, 89, 200);
/* oklch */ color: oklch(61.1% 0.181 318.1);
Tailwind
colors: {
  custom: {
    50: '#c98cd9',
    500: '#af59c8',
    950: '#000000',
  },
}
SCSS
$custom: #af59c8;
$custom-light: #c98cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#af59c8",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 286.486,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61098,
    "c": 0.18066,
    "h": 318.1
  },
  "luminance": 0.20429
}

Semantic roles & 50–950 ramp

primary
#AF59C8
secondary
#B2D5A8
accent
#DA4E6E
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #AF59C8

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

Preview Lab → · Contrast checker → · Palette generator →

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