#AF5BBF#AF5BBF

#AF5BBF is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.9% C 0.168 H 321.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AF5BBF
RGBrgb(175, 91, 191)
HSLhsl(290, 44%, 55%)
HSVhsv(290, 52%, 75%)
CMYKcmyk(8.4%, 52.4%, 0%, 25.1%)
CIE-LABlab(52.24, 49.38, -38.26)
CIE-LCHlch(52.24, 62.46, 322.23°)
OKLaboklab(60.89% 0.131 -0.106)
OKLCHoklch(60.89% 0.168 321)
XYZxyz(30.8232, 20.3590, 51.5862)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5BBF #6BBF5B
analogous
#7D5BBF #AF5BBF #BF5B9D
triadic
#AF5BBF #BFAF5B #5BBFAF
tetradic
#AF5BBF #BF7D5B #6BBF5B #5B9DBF
square
#AF5BBF #BF7D5B #6BBF5B #5B9DBF
split-complementary
#AF5BBF #9DBF5B #5BBF7D
monochromatic
#682D73 #8F3E9F #AF5BBF #C487D0 #DAB3E1

Accessibility & contrast

On white

4.14
#AF5BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AF5BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5BBF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5BBF#FFFFFF#000000##000000
##AF5BBF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A77C2
Deuteranopia (green-blind)
#6480BC
Tritanopia (blue-blind)
#B16985
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #af5bbf;
/* rgb */ color: rgb(175, 91, 191);
/* oklch */ color: oklch(60.9% 0.168 321.0);
Tailwind
colors: {
  custom: {
    50: '#c98dd2',
    500: '#af5bbf',
    950: '#000000',
  },
}
SCSS
$custom: #af5bbf;
$custom-light: #c98dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af5bbf",
  "rgb": {
    "r": 175,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 290.4,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60891,
    "c": 0.16847,
    "h": 321
  },
  "luminance": 0.20358
}

Semantic roles & 50–950 ramp

primary
#AF5BBF
secondary
#ADD0A6
accent
#D45469
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF5BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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