#B952CA#B952CA

#B952CA is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.6% C 0.198 H 321.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B952CA
RGBrgb(185, 82, 202)
HSLhsl(292, 53%, 56%)
HSVhsv(292, 59%, 79%)
CMYKcmyk(8.4%, 59.4%, 0%, 20.8%)
CIE-LABlab(52.53, 58.47, -44.04)
CIE-LCHlch(52.53, 73.20, 323.01°)
OKLaboklab(61.56% 0.1554 -0.1224)
OKLCHoklch(61.56% 0.198 321.8)
XYZxyz(33.6844, 20.6148, 58.0704)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952CA #63CA52
analogous
#7D52CA #B952CA #CA529F
triadic
#B952CA #CAB952 #52CAB9
tetradic
#B952CA #CA7D52 #63CA52 #529FCA
square
#B952CA #CA7D52 #63CA52 #529FCA
split-complementary
#B952CA #9FCA52 #52CA7D
monochromatic
#70267C #9A34AB #B952CA #CC81D8 #DFB0E7

Accessibility & contrast

On white

4.10
#B952CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B952CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952CA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952CA#FFFFFF#000000##000000
##B952CA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CE
Deuteranopia (green-blind)
#6081C7
Tritanopia (blue-blind)
#BB6486
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b952ca;
/* rgb */ color: rgb(185, 82, 202);
/* oklch */ color: oklch(61.6% 0.198 321.8);
Tailwind
colors: {
  custom: {
    50: '#d188da',
    500: '#b952ca',
    950: '#000000',
  },
}
SCSS
$custom: #b952ca;
$custom-light: #d188da;
$custom-dark: #000000;
JSON
{
  "hex": "#b952ca",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 291.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61561,
    "c": 0.19786,
    "h": 321.8
  },
  "luminance": 0.20613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B952CA

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

Preview Lab → · Contrast checker → · Palette generator →

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