#AF5BBD#AF5BBD

#AF5BBD is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.8% C 0.166 H 321.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AF5BBD
RGBrgb(175, 91, 189)
HSLhsl(291, 43%, 55%)
HSVhsv(291, 52%, 74%)
CMYKcmyk(7.4%, 51.9%, 0%, 25.9%)
CIE-LABlab(52.14, 48.98, -37.26)
CIE-LCHlch(52.14, 61.54, 322.74°)
OKLaboklab(60.79% 0.1307 -0.1031)
OKLCHoklch(60.79% 0.166 321.7)
XYZxyz(30.6046, 20.2716, 50.4350)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5BBD #69BD5B
analogous
#7E5BBD #AF5BBD #BD5B9A
triadic
#AF5BBD #BDAF5B #5BBDAF
tetradic
#AF5BBD #BD7E5B #69BD5B #5B9ABD
square
#AF5BBD #BD7E5B #69BD5B #5B9ABD
split-complementary
#AF5BBD #9ABD5B #5BBD7E
monochromatic
#672D70 #8F3F9C #AF5BBD #C487CF #DAB2E0

Accessibility & contrast

On white

4.16
#AF5BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#AF5BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5BBD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5BBD#FFFFFF#000000##000000
##AF5BBD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B76C0
Deuteranopia (green-blind)
#6580BA
Tritanopia (blue-blind)
#B16884
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #af5bbd;
/* rgb */ color: rgb(175, 91, 189);
/* oklch */ color: oklch(60.8% 0.166 321.7);
Tailwind
colors: {
  custom: {
    50: '#c98dd1',
    500: '#af5bbd',
    950: '#000000',
  },
}
SCSS
$custom: #af5bbd;
$custom-light: #c98dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af5bbd",
  "rgb": {
    "r": 175,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 291.429,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60787,
    "c": 0.16649,
    "h": 321.7
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#AF5BBD
secondary
#ABCFA5
accent
#D25567
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF5BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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