#952CB6#952CB6

#952CB6 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.213 H 316.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#952CB6
RGBrgb(149, 44, 182)
HSLhsl(286, 61%, 44%)
HSVhsv(286, 76%, 71%)
CMYKcmyk(18.1%, 75.8%, 0%, 28.6%)
CIE-LABlab(40.52, 62.13, -51.89)
CIE-LCHlch(40.52, 80.95, 320.13°)
OKLaboklab(51.49% 0.1543 -0.1462)
OKLCHoklch(51.49% 0.213 316.6)
XYZxyz(21.7373, 11.5692, 45.3350)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952CB6 #4DB62C
analogous
#502CB6 #952CB6 #B62C92
triadic
#952CB6 #B6952C #2CB695
tetradic
#952CB6 #B6502C #4DB62C #2C92B6
square
#952CB6 #B6502C #4DB62C #2C92B6
split-complementary
#952CB6 #92B62C #2CB650
monochromatic
#441453 #6D2085 #952CB6 #B34CD4 #C87DE0

Accessibility & contrast

On white

6.34
#952CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#952CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952CB6
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952CB6#FFFFFF#000000##FFFFFF
##952CB61.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#2C62B3
Tritanopia (blue-blind)
#934A70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952cb6;
/* rgb */ color: rgb(149, 44, 182);
/* oklch */ color: oklch(51.5% 0.213 316.6);
Tailwind
colors: {
  custom: {
    50: '#b871cd',
    500: '#952cb6',
    950: '#000000',
  },
}
SCSS
$custom: #952cb6;
$custom-light: #b871cd;
$custom-dark: #000000;
JSON
{
  "hex": "#952cb6",
  "rgb": {
    "r": 149,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 285.652,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51492,
    "c": 0.21254,
    "h": 316.6
  },
  "luminance": 0.11568
}

Semantic roles & 50–950 ramp

primary
#952CB6
secondary
#89C876
accent
#E4446A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #952CB6

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

Preview Lab → · Contrast checker → · Palette generator →

#952CB6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva