#AF59BB#AF59BB

#AF59BB is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.4% C 0.168 H 322.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF59BB
RGBrgb(175, 89, 187)
HSLhsl(293, 42%, 54%)
HSVhsv(293, 52%, 73%)
CMYKcmyk(6.4%, 52.4%, 0%, 26.7%)
CIE-LABlab(51.66, 49.60, -36.85)
CIE-LCHlch(51.66, 61.80, 323.39°)
OKLaboklab(60.4% 0.1332 -0.1019)
OKLCHoklch(60.4% 0.168 322.6)
XYZxyz(30.2203, 19.8480, 49.2433)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59BB #65BB59
analogous
#7E59BB #AF59BB #BB5996
triadic
#AF59BB #BBAF59 #59BBAF
tetradic
#AF59BB #BB7E59 #65BB59 #5996BB
square
#AF59BB #BB7E59 #65BB59 #5996BB
split-complementary
#AF59BB #96BB59 #59BB7E
monochromatic
#652D6D #8D3E98 #AF59BB #C484CD #D9B0DF

Accessibility & contrast

On white

4.23
#AF59BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AF59BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59BB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59BB#FFFFFF#000000##000000
##AF59BB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BE
Deuteranopia (green-blind)
#657FB8
Tritanopia (blue-blind)
#B16682
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af59bb;
/* rgb */ color: rgb(175, 89, 187);
/* oklch */ color: oklch(60.4% 0.168 322.6);
Tailwind
colors: {
  custom: {
    50: '#c98bd0',
    500: '#af59bb',
    950: '#000000',
  },
}
SCSS
$custom: #af59bb;
$custom-light: #c98bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af59bb",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 292.653,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60403,
    "c": 0.16774,
    "h": 322.6
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#AF59BB
secondary
#A8CDA3
accent
#D25665
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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