#B152BC#B152BC

#B152BC is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.8% C 0.181 H 323.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B152BC
RGBrgb(177, 82, 188)
HSLhsl(294, 44%, 53%)
HSVhsv(294, 56%, 74%)
CMYKcmyk(5.9%, 56.4%, 0%, 26.3%)
CIE-LABlab(50.70, 53.77, -38.93)
CIE-LCHlch(50.70, 66.38, 324.09°)
OKLaboklab(59.77% 0.1451 -0.1078)
OKLCHoklch(59.77% 0.181 323.4)
XYZxyz(30.2250, 19.0141, 49.6452)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B152BC #5DBC52
analogous
#7C52BC #B152BC #BC5292
triadic
#B152BC #BCB152 #52BCB1
tetradic
#B152BC #BC7C52 #5DBC52 #5292BC
square
#B152BC #BC7C52 #5DBC52 #5292BC
split-complementary
#B152BC #92BC52 #52BC7C
monochromatic
#64296A #8D3A97 #B152BC #C57ECD #D9AADE

Accessibility & contrast

On white

4.37
#B152BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B152BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B152BC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B152BC#FFFFFF#000000##000000
##B152BC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4171BF
Deuteranopia (green-blind)
#617DB9
Tritanopia (blue-blind)
#B4617F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b152bc;
/* rgb */ color: rgb(177, 82, 188);
/* oklch */ color: oklch(59.8% 0.181 323.4);
Tailwind
colors: {
  custom: {
    50: '#cb87d0',
    500: '#b152bc',
    950: '#000000',
  },
}
SCSS
$custom: #b152bc;
$custom-light: #cb87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b152bc",
  "rgb": {
    "r": 177,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 293.774,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59769,
    "c": 0.18076,
    "h": 323.4
  },
  "luminance": 0.19013
}

Semantic roles & 50–950 ramp

primary
#B152BC
secondary
#A3CC9E
accent
#D45461
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B152BC

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

Preview Lab → · Contrast checker → · Palette generator →

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