#AF59CF#AF59CF

#AF59CF is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.5% C 0.188 H 315.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AF59CF
RGBrgb(175, 89, 207)
HSLhsl(284, 55%, 58%)
HSVhsv(284, 57%, 81%)
CMYKcmyk(15.5%, 57%, 0%, 18.8%)
CIE-LABlab(52.69, 53.60, -46.72)
CIE-LCHlch(52.69, 71.11, 318.92°)
OKLaboklab(61.49% 0.1349 -0.1305)
OKLCHoklch(61.49% 0.188 315.9)
XYZxyz(32.5123, 20.7648, 61.3148)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59CF #79CF59
analogous
#7459CF #AF59CF #CF59B4
triadic
#AF59CF #CFAF59 #59CFAF
tetradic
#AF59CF #CF7459 #79CF59 #59B4CF
square
#AF59CF #CF7459 #79CF59 #59B4CF
split-complementary
#AF59CF #B4CF59 #59CF74
monochromatic
#6D2787 #9335B6 #AF59CF #C688DD #DDB8EA

Accessibility & contrast

On white

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

On black

5.15
#AF59CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59CF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59CF#FFFFFF#000000##000000
##AF59CF1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A79D3
Deuteranopia (green-blind)
#5A80CC
Tritanopia (blue-blind)
#AD6D8C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af59cf;
/* rgb */ color: rgb(175, 89, 207);
/* oklch */ color: oklch(61.5% 0.188 315.9);
Tailwind
colors: {
  custom: {
    50: '#ca8cde',
    500: '#af59cf',
    950: '#000000',
  },
}
SCSS
$custom: #af59cf;
$custom-light: #ca8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#af59cf",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 283.729,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6149,
    "c": 0.18776,
    "h": 315.9
  },
  "luminance": 0.20764
}

Semantic roles & 50–950 ramp

primary
#AF59CF
secondary
#B7D9AA
accent
#DE4972
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF59CF

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

Preview Lab → · Contrast checker → · Palette generator →

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