#AF59BE#AF59BE

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

Color values

HEX#AF59BE
RGBrgb(175, 89, 190)
HSLhsl(291, 44%, 55%)
HSVhsv(291, 53%, 75%)
CMYKcmyk(7.9%, 53.2%, 0%, 25.5%)
CIE-LABlab(51.81, 50.19, -38.36)
CIE-LCHlch(51.81, 63.17, 322.61°)
OKLaboklab(60.56% 0.1336 -0.1062)
OKLCHoklch(60.56% 0.171 321.5)
XYZxyz(30.5448, 19.9778, 50.9524)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59BE #68BE59
analogous
#7D59BE #AF59BE #BE599B
triadic
#AF59BE #BEAF59 #59BEAF
tetradic
#AF59BE #BE7D59 #68BE59 #599BBE
square
#AF59BE #BE7D59 #68BE59 #599BBE
split-complementary
#AF59BE #9BBE59 #59BE7D
monochromatic
#662C71 #8E3D9D #AF59BE #C485CF #D9B1E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF59BE#FFFFFF#000000##000000
##AF59BE1.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)
#4875C1
Deuteranopia (green-blind)
#637FBB
Tritanopia (blue-blind)
#B16783
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af59be;
/* rgb */ color: rgb(175, 89, 190);
/* oklch */ color: oklch(60.6% 0.171 321.5);
Tailwind
colors: {
  custom: {
    50: '#c98bd2',
    500: '#af59be',
    950: '#000000',
  },
}
SCSS
$custom: #af59be;
$custom-light: #c98bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af59be",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 190
  },
  "hsl": {
    "h": 291.089,
    "s": 43.723,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60559,
    "c": 0.17068,
    "h": 321.5
  },
  "luminance": 0.19976
}

Semantic roles & 50–950 ramp

primary
#AF59BE
secondary
#AACFA4
accent
#D35467
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF59BE

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

Preview Lab → · Contrast checker → · Palette generator →

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