#B15BB2#B15BB2

#B15BB2 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.5% C 0.157 H 326.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B15BB2
RGBrgb(177, 91, 178)
HSLhsl(299, 36%, 53%)
HSVhsv(299, 49%, 70%)
CMYKcmyk(0.6%, 48.9%, 0%, 30.2%)
CIE-LABlab(51.89, 47.46, -31.27)
CIE-LCHlch(51.89, 56.84, 326.62°)
OKLaboklab(60.49% 0.1315 -0.0858)
OKLCHoklch(60.49% 0.157 326.9)
XYZxyz(29.9079, 20.0452, 44.4046)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15BB2 #5CB25B
analogous
#855BB2 #B15BB2 #B25B88
triadic
#B15BB2 #B2B15B #5BB2B1
tetradic
#B15BB2 #B2855B #5CB25B #5B88B2
square
#B15BB2 #B2855B #5CB25B #5B88B2
split-complementary
#B15BB2 #88B25B #5BB285
monochromatic
#632F64 #8D428D #B15BB2 #C585C6 #D9AED9

Accessibility & contrast

On white

4.19
#B15BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B15BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15BB2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15BB2#FFFFFF#000000##000000
##B15BB21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#6C80AF
Tritanopia (blue-blind)
#B5647E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b15bb2;
/* rgb */ color: rgb(177, 91, 178);
/* oklch */ color: oklch(60.5% 0.157 326.9);
Tailwind
colors: {
  custom: {
    50: '#ca8dc9',
    500: '#b15bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b15bb2;
$custom-light: #ca8dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b15bb2",
  "rgb": {
    "r": 177,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 299.31,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60485,
    "c": 0.15702,
    "h": 326.9
  },
  "luminance": 0.20044
}

Semantic roles & 50–950 ramp

primary
#B15BB2
secondary
#A2C7A2
accent
#CC5C5D
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #B15BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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