#AF5CB0#AF5CB0

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

Color values

HEX#AF5CB0
RGBrgb(175, 92, 176)
HSLhsl(299, 35%, 53%)
HSVhsv(299, 48%, 69%)
CMYKcmyk(0.6%, 47.7%, 0%, 31%)
CIE-LABlab(51.73, 45.99, -30.37)
CIE-LCHlch(51.73, 55.11, 326.56°)
OKLaboklab(60.28% 0.1274 -0.0833)
OKLCHoklch(60.28% 0.152 326.8)
XYZxyz(29.3423, 19.9044, 43.3623)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5CB0 #5DB05C
analogous
#855CB0 #AF5CB0 #B05C87
triadic
#AF5CB0 #B0AF5C #5CB0AF
tetradic
#AF5CB0 #B0855C #5DB05C #5C87B0
square
#AF5CB0 #B0855C #5DB05C #5C87B0
split-complementary
#AF5CB0 #87B05C #5CB085
monochromatic
#613062 #8A448B #AF5CB0 #C385C4 #D7AED8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF5CB0#FFFFFF#000000##000000
##AF5CB01.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)
#5475B3
Deuteranopia (green-blind)
#6C7FAD
Tritanopia (blue-blind)
#B3657E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af5cb0;
/* rgb */ color: rgb(175, 92, 176);
/* oklch */ color: oklch(60.3% 0.152 326.8);
Tailwind
colors: {
  custom: {
    50: '#c98dc8',
    500: '#af5cb0',
    950: '#000000',
  },
}
SCSS
$custom: #af5cb0;
$custom-light: #c98dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#af5cb0",
  "rgb": {
    "r": 175,
    "g": 92,
    "b": 176
  },
  "hsl": {
    "h": 299.286,
    "s": 34.711,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60282,
    "c": 0.15219,
    "h": 326.8
  },
  "luminance": 0.19903
}

Semantic roles & 50–950 ramp

primary
#AF5CB0
secondary
#A2C6A2
accent
#CB5D5E
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AF5CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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