#B152C0#B152C0

#B152C0 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.0% C 0.185 H 322.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B152C0
RGBrgb(177, 82, 192)
HSLhsl(292, 47%, 54%)
HSVhsv(292, 57%, 75%)
CMYKcmyk(7.8%, 57.3%, 0%, 24.7%)
CIE-LABlab(50.91, 54.52, -40.92)
CIE-LCHlch(50.91, 68.17, 323.11°)
OKLaboklab(59.99% 0.1454 -0.1136)
OKLCHoklch(59.99% 0.185 322)
XYZxyz(30.6622, 19.1890, 51.9477)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B152C0 #61C052
analogous
#7A52C0 #B152C0 #C05298
triadic
#B152C0 #C0B152 #52C0B1
tetradic
#B152C0 #C07A52 #61C052 #5298C0
square
#B152C0 #C07A52 #61C052 #5298C0
split-complementary
#B152C0 #98C052 #52C07A
monochromatic
#65286F #8E399C #B152C0 #C57FD0 #D9ACE1

Accessibility & contrast

On white

4.34
#B152C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B152C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B152C0
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B152C0#FFFFFF#000000##000000
##B152C01.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b152c0;
/* rgb */ color: rgb(177, 82, 192);
/* oklch */ color: oklch(60.0% 0.185 322.0);
Tailwind
colors: {
  custom: {
    50: '#cb87d3',
    500: '#b152c0',
    950: '#000000',
  },
}
SCSS
$custom: #b152c0;
$custom-light: #cb87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b152c0",
  "rgb": {
    "r": 177,
    "g": 82,
    "b": 192
  },
  "hsl": {
    "h": 291.818,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59985,
    "c": 0.18453,
    "h": 322
  },
  "luminance": 0.19187
}

Semantic roles & 50–950 ramp

primary
#B152C0
secondary
#A6CE9F
accent
#D65264
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B152C0

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

Preview Lab → · Contrast checker → · Palette generator →

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