#B152BB#B152BB

#B152BB is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.7% C 0.180 H 323.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B152BB
RGBrgb(177, 82, 187)
HSLhsl(294, 44%, 53%)
HSVhsv(294, 56%, 73%)
CMYKcmyk(5.3%, 56.1%, 0%, 26.7%)
CIE-LABlab(50.65, 53.58, -38.43)
CIE-LCHlch(50.65, 65.93, 324.35°)
OKLaboklab(59.72% 0.145 -0.1063)
OKLCHoklch(59.72% 0.18 323.7)
XYZxyz(30.1176, 18.9711, 49.0795)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B152BB #5CBB52
analogous
#7D52BB #B152BB #BB5290
triadic
#B152BB #BBB152 #52BBB1
tetradic
#B152BB #BB7D52 #5CBB52 #5290BB
square
#B152BB #BB7D52 #5CBB52 #5290BB
split-complementary
#B152BB #90BB52 #52BB7D
monochromatic
#632969 #8D3B95 #B152BB #C57ECC #D9AADE

Accessibility & contrast

On white

4.38
#B152BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B152BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B152BB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B152BB#FFFFFF#000000##000000
##B152BB1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#617DB8
Tritanopia (blue-blind)
#B4607F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b152bb;
/* rgb */ color: rgb(177, 82, 187);
/* oklch */ color: oklch(59.7% 0.180 323.7);
Tailwind
colors: {
  custom: {
    50: '#cb87d0',
    500: '#b152bb',
    950: '#000000',
  },
}
SCSS
$custom: #b152bb;
$custom-light: #cb87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b152bb",
  "rgb": {
    "r": 177,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 294.286,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.17983,
    "h": 323.7
  },
  "luminance": 0.1897
}

Semantic roles & 50–950 ramp

primary
#B152BB
secondary
#A2CB9E
accent
#D35461
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B152BB

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

Preview Lab → · Contrast checker → · Palette generator →

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