#B152BD#B152BD

#B152BD is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.8% C 0.182 H 323.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B152BD
RGBrgb(177, 82, 189)
HSLhsl(293, 45%, 53%)
HSVhsv(293, 57%, 74%)
CMYKcmyk(6.3%, 56.6%, 0%, 25.9%)
CIE-LABlab(50.75, 53.95, -39.43)
CIE-LCHlch(50.75, 66.82, 323.84°)
OKLaboklab(59.82% 0.1452 -0.1092)
OKLCHoklch(59.82% 0.182 323)
XYZxyz(30.3332, 19.0574, 50.2149)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B152BD #5EBD52
analogous
#7B52BD #B152BD #BD5293
triadic
#B152BD #BDB152 #52BDB1
tetradic
#B152BD #BD7B52 #5EBD52 #5293BD
square
#B152BD #BD7B52 #5EBD52 #5293BD
split-complementary
#B152BD #93BD52 #52BD7B
monochromatic
#64296C #8D3A98 #B152BD #C57ECE #D9ABDF

Accessibility & contrast

On white

4.36
#B152BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B152BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B152BD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B152BD#FFFFFF#000000##000000
##B152BD1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4072C0
Deuteranopia (green-blind)
#607DBA
Tritanopia (blue-blind)
#B46180
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b152bd;
/* rgb */ color: rgb(177, 82, 189);
/* oklch */ color: oklch(59.8% 0.182 323.0);
Tailwind
colors: {
  custom: {
    50: '#cb87d1',
    500: '#b152bd',
    950: '#000000',
  },
}
SCSS
$custom: #b152bd;
$custom-light: #cb87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b152bd",
  "rgb": {
    "r": 177,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 293.271,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59823,
    "c": 0.1817,
    "h": 323
  },
  "luminance": 0.19056
}

Semantic roles & 50–950 ramp

primary
#B152BD
secondary
#A4CC9E
accent
#D45362
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B152BD

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

Preview Lab → · Contrast checker → · Palette generator →

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