#AF5BB1#AF5BB1

#AF5BB1 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.2% C 0.155 H 326.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF5BB1
RGBrgb(175, 91, 177)
HSLhsl(299, 36%, 53%)
HSVhsv(299, 49%, 69%)
CMYKcmyk(1.1%, 48.6%, 0%, 30.6%)
CIE-LABlab(51.58, 46.69, -31.19)
CIE-LCHlch(51.58, 56.15, 326.26°)
OKLaboklab(60.19% 0.129 -0.0856)
OKLCHoklch(60.19% 0.155 326.4)
XYZxyz(29.3555, 19.7720, 43.8566)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5BB1 #5DB15B
analogous
#845BB1 #AF5BB1 #B15B88
triadic
#AF5BB1 #B1AF5B #5BB1AF
tetradic
#AF5BB1 #B1845B #5DB15B #5B88B1
square
#AF5BB1 #B1845B #5DB15B #5B88B1
split-complementary
#AF5BB1 #88B15B #5BB184
monochromatic
#612F63 #8A438C #AF5BB1 #C384C5 #D7AED8

Accessibility & contrast

On white

4.24
#AF5BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AF5BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5BB1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5BB1#FFFFFF#000000##000000
##AF5BB11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5274B4
Deuteranopia (green-blind)
#6B7FAE
Tritanopia (blue-blind)
#B3647E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af5bb1;
/* rgb */ color: rgb(175, 91, 177);
/* oklch */ color: oklch(60.2% 0.155 326.4);
Tailwind
colors: {
  custom: {
    50: '#c98cc8',
    500: '#af5bb1',
    950: '#000000',
  },
}
SCSS
$custom: #af5bb1;
$custom-light: #c98cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#af5bb1",
  "rgb": {
    "r": 175,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 298.605,
    "s": 35.537,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.15482,
    "h": 326.4
  },
  "luminance": 0.1977
}

Semantic roles & 50–950 ramp

primary
#AF5BB1
secondary
#A2C7A1
accent
#CC5C5F
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AF5BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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