#B152BF#B152BF

#B152BF is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.9% C 0.184 H 322.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B152BF
RGBrgb(177, 82, 191)
HSLhsl(292, 46%, 54%)
HSVhsv(292, 57%, 75%)
CMYKcmyk(7.3%, 57.1%, 0%, 25.1%)
CIE-LABlab(50.86, 54.33, -40.42)
CIE-LCHlch(50.86, 67.72, 323.35°)
OKLaboklab(59.93% 0.1454 -0.1121)
OKLCHoklch(59.93% 0.184 322.4)
XYZxyz(30.5517, 19.1448, 51.3661)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B152BF #60BF52
analogous
#7A52BF #B152BF #BF5296
triadic
#B152BF #BFB152 #52BFB1
tetradic
#B152BF #BF7A52 #60BF52 #5296BF
square
#B152BF #BF7A52 #60BF52 #5296BF
split-complementary
#B152BF #96BF52 #52BF7A
monochromatic
#65296E #8E399B #B152BF #C57FD0 #D9ABE0

Accessibility & contrast

On white

4.35
#B152BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B152BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B152BF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B152BF#FFFFFF#000000##000000
##B152BF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C2
Deuteranopia (green-blind)
#5F7DBC
Tritanopia (blue-blind)
#B36281
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b152bf;
/* rgb */ color: rgb(177, 82, 191);
/* oklch */ color: oklch(59.9% 0.184 322.4);
Tailwind
colors: {
  custom: {
    50: '#cb87d3',
    500: '#b152bf',
    950: '#000000',
  },
}
SCSS
$custom: #b152bf;
$custom-light: #cb87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b152bf",
  "rgb": {
    "r": 177,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 292.294,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59931,
    "c": 0.18357,
    "h": 322.4
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#B152BF
secondary
#A5CE9F
accent
#D65263
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B152BF

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

Preview Lab → · Contrast checker → · Palette generator →

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