#B952CB#B952CB

#B952CB is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.6% C 0.199 H 321.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B952CB
RGBrgb(185, 82, 203)
HSLhsl(291, 54%, 56%)
HSVhsv(291, 60%, 80%)
CMYKcmyk(8.9%, 59.6%, 0%, 20.4%)
CIE-LABlab(52.58, 58.66, -44.53)
CIE-LCHlch(52.58, 73.65, 322.79°)
OKLaboklab(61.62% 0.1555 -0.1239)
OKLCHoklch(61.62% 0.199 321.5)
XYZxyz(33.8032, 20.6623, 58.6960)
Luminance0.2066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952CB #64CB52
analogous
#7C52CB #B952CB #CB52A1
triadic
#B952CB #CBB952 #52CBB9
tetradic
#B952CB #CB7C52 #64CB52 #52A1CB
square
#B952CB #CB7C52 #64CB52 #52A1CB
split-complementary
#B952CB #A1CB52 #52CB7C
monochromatic
#70267D #9A34AC #B952CB #CC81D9 #DFB0E7

Accessibility & contrast

On white

4.09
#B952CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B952CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952CB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952CB#FFFFFF#000000##000000
##B952CB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3976CF
Deuteranopia (green-blind)
#5F81C8
Tritanopia (blue-blind)
#BB6487
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b952cb;
/* rgb */ color: rgb(185, 82, 203);
/* oklch */ color: oklch(61.6% 0.199 321.5);
Tailwind
colors: {
  custom: {
    50: '#d188db',
    500: '#b952cb',
    950: '#000000',
  },
}
SCSS
$custom: #b952cb;
$custom-light: #d188db;
$custom-dark: #000000;
JSON
{
  "hex": "#b952cb",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 291.074,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61616,
    "c": 0.1988,
    "h": 321.5
  },
  "luminance": 0.20661
}

Semantic roles & 50–950 ramp

primary
#B952CB
secondary
#ABD5A3
accent
#DD4B60
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B952CB

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

Preview Lab → · Contrast checker → · Palette generator →

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