#B952CE#B952CE

#B952CE is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.8% C 0.202 H 320.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B952CE
RGBrgb(185, 82, 206)
HSLhsl(290, 56%, 56%)
HSVhsv(290, 60%, 81%)
CMYKcmyk(10.2%, 60.2%, 0%, 19.2%)
CIE-LABlab(52.74, 59.22, -46.00)
CIE-LCHlch(52.74, 74.99, 322.16°)
OKLaboklab(61.78% 0.1556 -0.1281)
OKLCHoklch(61.78% 0.202 320.5)
XYZxyz(34.1641, 20.8067, 60.5971)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952CE #67CE52
analogous
#7B52CE #B952CE #CE52A5
triadic
#B952CE #CEB952 #52CEB9
tetradic
#B952CE #CE7B52 #67CE52 #52A5CE
square
#B952CE #CE7B52 #67CE52 #52A5CE
split-complementary
#B952CE #A5CE52 #52CE7B
monochromatic
#712581 #9B32B1 #B952CE #CC82DC #E0B1E9

Accessibility & contrast

On white

4.07
#B952CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B952CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952CE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952CE#FFFFFF#000000##000000
##B952CE1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3677D2
Deuteranopia (green-blind)
#5D82CB
Tritanopia (blue-blind)
#BA6689
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b952ce;
/* rgb */ color: rgb(185, 82, 206);
/* oklch */ color: oklch(61.8% 0.202 320.5);
Tailwind
colors: {
  custom: {
    50: '#d188dd',
    500: '#b952ce',
    950: '#000000',
  },
}
SCSS
$custom: #b952ce;
$custom-light: #d188dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b952ce",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 289.839,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61784,
    "c": 0.20157,
    "h": 320.5
  },
  "luminance": 0.20805
}

Semantic roles & 50–950 ramp

primary
#B952CE
secondary
#ADD7A4
accent
#DF4962
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B952CE

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

Preview Lab → · Contrast checker → · Palette generator →

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