#B952CD#B952CD

#B952CD is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.7% C 0.201 H 320.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B952CD
RGBrgb(185, 82, 205)
HSLhsl(290, 55%, 56%)
HSVhsv(290, 60%, 80%)
CMYKcmyk(9.8%, 60%, 0%, 19.6%)
CIE-LABlab(52.68, 59.03, -45.51)
CIE-LCHlch(52.68, 74.54, 322.37°)
OKLaboklab(61.73% 0.1556 -0.1267)
OKLCHoklch(61.73% 0.201 320.8)
XYZxyz(34.0430, 20.7583, 59.9593)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952CD #66CD52
analogous
#7C52CD #B952CD #CD52A4
triadic
#B952CD #CDB952 #52CDB9
tetradic
#B952CD #CD7C52 #66CD52 #52A4CD
square
#B952CD #CD7C52 #66CD52 #52A4CD
split-complementary
#B952CD #A4CD52 #52CD7C
monochromatic
#712580 #9B33AF #B952CD #CC81DB #DFB1E8

Accessibility & contrast

On white

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

On black

5.15
#B952CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952CD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952CD#FFFFFF#000000##000000
##B952CD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776D1
Deuteranopia (green-blind)
#5E82CA
Tritanopia (blue-blind)
#BA6588
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b952cd;
/* rgb */ color: rgb(185, 82, 205);
/* oklch */ color: oklch(61.7% 0.201 320.8);
Tailwind
colors: {
  custom: {
    50: '#d188dd',
    500: '#b952cd',
    950: '#000000',
  },
}
SCSS
$custom: #b952cd;
$custom-light: #d188dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b952cd",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 290.244,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61728,
    "c": 0.20065,
    "h": 320.8
  },
  "luminance": 0.20757
}

Semantic roles & 50–950 ramp

primary
#B952CD
secondary
#ACD7A4
accent
#DE4962
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B952CD

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

Preview Lab → · Contrast checker → · Palette generator →

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