#B952CC#B952CC

#B952CC is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.7% C 0.200 H 321.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B952CC
RGBrgb(185, 82, 204)
HSLhsl(291, 54%, 56%)
HSVhsv(291, 60%, 80%)
CMYKcmyk(9.3%, 59.8%, 0%, 20%)
CIE-LABlab(52.63, 58.84, -45.02)
CIE-LCHlch(52.63, 74.09, 322.58°)
OKLaboklab(61.67% 0.1555 -0.1253)
OKLCHoklch(61.67% 0.2 321.1)
XYZxyz(33.9227, 20.7101, 59.3256)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952CC #65CC52
analogous
#7C52CC #B952CC #CC52A2
triadic
#B952CC #CCB952 #52CCB9
tetradic
#B952CC #CC7C52 #65CC52 #52A2CC
square
#B952CC #CC7C52 #65CC52 #52A2CC
split-complementary
#B952CC #A2CC52 #52CC7C
monochromatic
#70257E #9B33AE #B952CC #CC81DA #DFB1E8

Accessibility & contrast

On white

4.08
#B952CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B952CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952CC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952CC#FFFFFF#000000##000000
##B952CC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3876D0
Deuteranopia (green-blind)
#5E81C9
Tritanopia (blue-blind)
#BB6587
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b952cc;
/* rgb */ color: rgb(185, 82, 204);
/* oklch */ color: oklch(61.7% 0.200 321.1);
Tailwind
colors: {
  custom: {
    50: '#d188dc',
    500: '#b952cc',
    950: '#000000',
  },
}
SCSS
$custom: #b952cc;
$custom-light: #d188dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b952cc",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 290.656,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61672,
    "c": 0.19972,
    "h": 321.1
  },
  "luminance": 0.20709
}

Semantic roles & 50–950 ramp

primary
#B952CC
secondary
#ACD6A4
accent
#DE4A61
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B952CC

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

Preview Lab → · Contrast checker → · Palette generator →

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