#AF59CE#AF59CE

#AF59CE is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.4% C 0.187 H 316.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF59CE
RGBrgb(175, 89, 206)
HSLhsl(284, 54%, 58%)
HSVhsv(284, 57%, 81%)
CMYKcmyk(15%, 56.8%, 0%, 19.2%)
CIE-LABlab(52.64, 53.39, -46.24)
CIE-LCHlch(52.64, 70.63, 319.11°)
OKLaboklab(61.43% 0.1349 -0.1291)
OKLCHoklch(61.43% 0.187 316.2)
XYZxyz(32.3905, 20.7161, 60.6729)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59CE #78CE59
analogous
#7559CE #AF59CE #CE59B2
triadic
#AF59CE #CEAF59 #59CEAF
tetradic
#AF59CE #CE7559 #78CE59 #59B2CE
square
#AF59CE #CE7559 #78CE59 #59B2CE
split-complementary
#AF59CE #B2CE59 #59CE75
monochromatic
#6C2785 #9335B5 #AF59CE #C688DC #DDB8EA

Accessibility & contrast

On white

4.08
#AF59CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#AF59CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59CE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59CE#FFFFFF#000000##000000
##AF59CE1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D2
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#AD6C8B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af59ce;
/* rgb */ color: rgb(175, 89, 206);
/* oklch */ color: oklch(61.4% 0.187 316.2);
Tailwind
colors: {
  custom: {
    50: '#ca8cdd',
    500: '#af59ce',
    950: '#000000',
  },
}
SCSS
$custom: #af59ce;
$custom-light: #ca8cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#af59ce",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 284.103,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61433,
    "c": 0.18674,
    "h": 316.2
  },
  "luminance": 0.20715
}

Semantic roles & 50–950 ramp

primary
#AF59CE
secondary
#B6D9AA
accent
#DE4A71
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF59CE

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

Preview Lab → · Contrast checker → · Palette generator →

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