#BB5DAF#BB5DAF

#BB5DAF is a mid, vivid purple. Relative luminance 0.215; OKLCH L 61.9% C 0.158 H 332.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BB5DAF
RGBrgb(187, 93, 175)
HSLhsl(308, 41%, 55%)
HSVhsv(308, 50%, 73%)
CMYKcmyk(0%, 50.3%, 6.4%, 26.7%)
CIE-LABlab(53.48, 48.87, -26.94)
CIE-LCHlch(53.48, 55.80, 331.13°)
OKLaboklab(61.9% 0.1396 -0.0733)
OKLCHoklch(61.9% 0.158 332.3)
XYZxyz(32.1456, 21.4907, 43.0041)
Luminance0.2149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5DAF #5DBB69
analogous
#985DBB #BB5DAF #BB5D80
triadic
#BB5DAF #AFBB5D #5DAFBB
tetradic
#BB5DAF #BB985D #5DBB69 #5D80BB
square
#BB5DAF #BB985D #5DBB69 #5D80BB
split-complementary
#BB5DAF #80BB5D #5DBB98
monochromatic
#6F2F67 #9A418F #BB5DAF #CD88C4 #DFB3DA

Accessibility & contrast

On white

3.96
#BB5DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#BB5DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5DAF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5DAF#FFFFFF#000000##000000
##BB5DAF1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A77B2
Deuteranopia (green-blind)
#7585AC
Tritanopia (blue-blind)
#C2647E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb5daf;
/* rgb */ color: rgb(187, 93, 175);
/* oklch */ color: oklch(61.9% 0.158 332.3);
Tailwind
colors: {
  custom: {
    50: '#d18ec7',
    500: '#bb5daf',
    950: '#000000',
  },
}
SCSS
$custom: #bb5daf;
$custom-light: #d18ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5daf",
  "rgb": {
    "r": 187,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 307.66,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61904,
    "c": 0.15767,
    "h": 332.3
  },
  "luminance": 0.21489
}

Semantic roles & 50–950 ramp

primary
#BB5DAF
secondary
#A6CEAB
accent
#D16757
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140D13
muted
#837D82

Preview Lab

Preview with #BB5DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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