#AF59BC#AF59BC

#AF59BC is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.5% C 0.169 H 322.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF59BC
RGBrgb(175, 89, 188)
HSLhsl(292, 42%, 54%)
HSVhsv(292, 53%, 74%)
CMYKcmyk(6.9%, 52.7%, 0%, 26.3%)
CIE-LABlab(51.71, 49.80, -37.36)
CIE-LCHlch(51.71, 62.25, 323.12°)
OKLaboklab(60.46% 0.1334 -0.1033)
OKLCHoklch(60.46% 0.169 322.2)
XYZxyz(30.3277, 19.8909, 49.8090)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59BC #66BC59
analogous
#7E59BC #AF59BC #BC5998
triadic
#AF59BC #BCAF59 #59BCAF
tetradic
#AF59BC #BC7E59 #66BC59 #5998BC
square
#AF59BC #BC7E59 #66BC59 #5998BC
split-complementary
#AF59BC #98BC59 #59BC7E
monochromatic
#662C6E #8E3E9A #AF59BC #C485CE #D9B0DF

Accessibility & contrast

On white

4.22
#AF59BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#AF59BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59BC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59BC#FFFFFF#000000##000000
##AF59BC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975BF
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#B16682
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af59bc;
/* rgb */ color: rgb(175, 89, 188);
/* oklch */ color: oklch(60.5% 0.169 322.2);
Tailwind
colors: {
  custom: {
    50: '#c98bd0',
    500: '#af59bc',
    950: '#000000',
  },
}
SCSS
$custom: #af59bc;
$custom-light: #c98bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af59bc",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 292.121,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60455,
    "c": 0.16872,
    "h": 322.2
  },
  "luminance": 0.1989
}

Semantic roles & 50–950 ramp

primary
#AF59BC
secondary
#A9CDA3
accent
#D25666
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF59BC

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

Preview Lab → · Contrast checker → · Palette generator →

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