#AF5BBB#AF5BBB

#AF5BBB is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.7% C 0.165 H 322.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AF5BBB
RGBrgb(175, 91, 187)
HSLhsl(293, 41%, 55%)
HSVhsv(293, 51%, 73%)
CMYKcmyk(6.4%, 51.3%, 0%, 26.7%)
CIE-LABlab(52.05, 48.59, -36.26)
CIE-LCHlch(52.05, 60.63, 323.27°)
OKLaboklab(60.68% 0.1305 -0.1002)
OKLCHoklch(60.68% 0.165 322.5)
XYZxyz(30.3890, 20.1854, 49.2995)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5BBB #67BB5B
analogous
#7F5BBB #AF5BBB #BB5B97
triadic
#AF5BBB #BBAF5B #5BBBAF
tetradic
#AF5BBB #BB7F5B #67BB5B #5B97BB
square
#AF5BBB #BB7F5B #67BB5B #5B97BB
split-complementary
#AF5BBB #97BB5B #5BBB7F
monochromatic
#662E6E #8E4099 #AF5BBB #C486CD #D9B2DF

Accessibility & contrast

On white

4.17
#AF5BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#AF5BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5BBB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5BBB#FFFFFF#000000##000000
##AF5BBB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BE
Deuteranopia (green-blind)
#667FB8
Tritanopia (blue-blind)
#B16883
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #af5bbb;
/* rgb */ color: rgb(175, 91, 187);
/* oklch */ color: oklch(60.7% 0.165 322.5);
Tailwind
colors: {
  custom: {
    50: '#c98dd0',
    500: '#af5bbb',
    950: '#000000',
  },
}
SCSS
$custom: #af5bbb;
$custom-light: #c98dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af5bbb",
  "rgb": {
    "r": 175,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 292.5,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60684,
    "c": 0.1645,
    "h": 322.5
  },
  "luminance": 0.20184
}

Semantic roles & 50–950 ramp

primary
#AF5BBB
secondary
#AACDA5
accent
#D15766
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF5BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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