#AF59BD#AF59BD

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

Color values

HEX#AF59BD
RGBrgb(175, 89, 189)
HSLhsl(292, 43%, 55%)
HSVhsv(292, 53%, 74%)
CMYKcmyk(7.4%, 52.9%, 0%, 25.9%)
CIE-LABlab(51.76, 49.99, -37.86)
CIE-LCHlch(51.76, 62.71, 322.87°)
OKLaboklab(60.51% 0.1335 -0.1048)
OKLCHoklch(60.51% 0.17 321.9)
XYZxyz(30.4359, 19.9342, 50.3787)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59BD #67BD59
analogous
#7D59BD #AF59BD #BD5999
triadic
#AF59BD #BDAF59 #59BDAF
tetradic
#AF59BD #BD7D59 #67BD59 #5999BD
square
#AF59BD #BD7D59 #67BD59 #5999BD
split-complementary
#AF59BD #99BD59 #59BD7D
monochromatic
#662C6F #8E3E9B #AF59BD #C485CE #D9B1E0

Accessibility & contrast

On white

4.21
#AF59BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#AF59BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59BD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59BD#FFFFFF#000000##000000
##AF59BD1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975C0
Deuteranopia (green-blind)
#647FBA
Tritanopia (blue-blind)
#B16783
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af59bd;
/* rgb */ color: rgb(175, 89, 189);
/* oklch */ color: oklch(60.5% 0.170 321.9);
Tailwind
colors: {
  custom: {
    50: '#c98bd1',
    500: '#af59bd',
    950: '#000000',
  },
}
SCSS
$custom: #af59bd;
$custom-light: #c98bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af59bd",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 189
  },
  "hsl": {
    "h": 291.6,
    "s": 43.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60507,
    "c": 0.1697,
    "h": 321.9
  },
  "luminance": 0.19933
}

Semantic roles & 50–950 ramp

primary
#AF59BD
secondary
#AACEA4
accent
#D35567
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF59BD

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

Preview Lab → · Contrast checker → · Palette generator →

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