#952DB4#952DB4

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

Color values

HEX#952DB4
RGBrgb(149, 45, 180)
HSLhsl(286, 60%, 44%)
HSVhsv(286, 75%, 71%)
CMYKcmyk(17.2%, 75%, 0%, 29.4%)
CIE-LABlab(40.51, 61.39, -50.73)
CIE-LCHlch(40.51, 79.64, 320.43°)
OKLaboklab(51.44% 0.1537 -0.1427)
OKLCHoklch(51.44% 0.21 317.1)
XYZxyz(21.5698, 11.5625, 44.2668)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DB4 #4CB42D
analogous
#522DB4 #952DB4 #B42D90
triadic
#952DB4 #B4952D #2DB495
tetradic
#952DB4 #B4522D #4CB42D #2D90B4
square
#952DB4 #B4522D #4CB42D #2D90B4
split-complementary
#952DB4 #90B42D #2DB452
monochromatic
#441552 #6C2183 #952DB4 #B34CD2 #C87DDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##952DB4#FFFFFF#000000##FFFFFF
##952DB41.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)
#0059B8
Deuteranopia (green-blind)
#2F63B1
Tritanopia (blue-blind)
#934A6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952db4;
/* rgb */ color: rgb(149, 45, 180);
/* oklch */ color: oklch(51.4% 0.210 317.1);
Tailwind
colors: {
  custom: {
    50: '#b871cb',
    500: '#952db4',
    950: '#000000',
  },
}
SCSS
$custom: #952db4;
$custom-light: #b871cb;
$custom-dark: #000000;
JSON
{
  "hex": "#952db4",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 286.222,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51442,
    "c": 0.20974,
    "h": 317.1
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#952DB4
secondary
#88C776
accent
#E34569
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #952DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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