#952CB5#952CB5

#952CB5 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.212 H 316.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#952CB5
RGBrgb(149, 44, 181)
HSLhsl(286, 61%, 44%)
HSVhsv(286, 76%, 71%)
CMYKcmyk(17.7%, 75.7%, 0%, 29%)
CIE-LABlab(40.46, 61.94, -51.41)
CIE-LCHlch(40.46, 80.49, 320.31°)
OKLaboklab(51.42% 0.1544 -0.1447)
OKLCHoklch(51.42% 0.212 316.9)
XYZxyz(21.6343, 11.5280, 44.7926)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952CB5 #4CB52C
analogous
#502CB5 #952CB5 #B52C91
triadic
#952CB5 #B5952C #2CB595
tetradic
#952CB5 #B5502C #4CB52C #2C91B5
square
#952CB5 #B5502C #4CB52C #2C91B5
split-complementary
#952CB5 #91B52C #2CB550
monochromatic
#441453 #6C2084 #952CB5 #B34BD3 #C87CDF

Accessibility & contrast

On white

6.35
#952CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952CB5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952CB5#FFFFFF#000000##FFFFFF
##952CB51.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#2D62B2
Tritanopia (blue-blind)
#934A6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952cb5;
/* rgb */ color: rgb(149, 44, 181);
/* oklch */ color: oklch(51.4% 0.212 316.9);
Tailwind
colors: {
  custom: {
    50: '#b871cc',
    500: '#952cb5',
    950: '#000000',
  },
}
SCSS
$custom: #952cb5;
$custom-light: #b871cc;
$custom-dark: #000000;
JSON
{
  "hex": "#952cb5",
  "rgb": {
    "r": 149,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 285.985,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51423,
    "c": 0.21166,
    "h": 316.9
  },
  "luminance": 0.11527
}

Semantic roles & 50–950 ramp

primary
#952CB5
secondary
#88C875
accent
#E44469
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #952CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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