#AF59BF#AF59BF

#AF59BF is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.6% C 0.172 H 321.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AF59BF
RGBrgb(175, 89, 191)
HSLhsl(291, 44%, 55%)
HSVhsv(291, 53%, 75%)
CMYKcmyk(8.4%, 53.4%, 0%, 25.1%)
CIE-LABlab(51.86, 50.38, -38.86)
CIE-LCHlch(51.86, 63.63, 322.36°)
OKLaboklab(60.61% 0.1337 -0.1077)
OKLCHoklch(60.61% 0.172 321.1)
XYZxyz(30.6545, 20.0217, 51.5300)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59BF #69BF59
analogous
#7C59BF #AF59BF #BF599C
triadic
#AF59BF #BFAF59 #59BFAF
tetradic
#AF59BF #BF7C59 #69BF59 #599CBF
square
#AF59BF #BF7C59 #69BF59 #599CBF
split-complementary
#AF59BF #9CBF59 #59BF7C
monochromatic
#672C72 #8F3D9E #AF59BF #C485D0 #DAB1E1

Accessibility & contrast

On white

4.20
#AF59BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AF59BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59BF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59BF#FFFFFF#000000##000000
##AF59BF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4775C2
Deuteranopia (green-blind)
#637FBC
Tritanopia (blue-blind)
#B16784
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #af59bf;
/* rgb */ color: rgb(175, 89, 191);
/* oklch */ color: oklch(60.6% 0.172 321.1);
Tailwind
colors: {
  custom: {
    50: '#c98bd3',
    500: '#af59bf',
    950: '#000000',
  },
}
SCSS
$custom: #af59bf;
$custom-light: #c98bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#af59bf",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 290.588,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60612,
    "c": 0.17167,
    "h": 321.1
  },
  "luminance": 0.2002
}

Semantic roles & 50–950 ramp

primary
#AF59BF
secondary
#ABCFA4
accent
#D45468
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF59BF

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

Preview Lab → · Contrast checker → · Palette generator →

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