#952DB6#952DB6

#952DB6 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.211 H 316.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#952DB6
RGBrgb(149, 45, 182)
HSLhsl(286, 60%, 45%)
HSVhsv(286, 75%, 71%)
CMYKcmyk(18.1%, 75.3%, 0%, 28.6%)
CIE-LABlab(40.65, 61.78, -51.69)
CIE-LCHlch(40.65, 80.56, 320.08°)
OKLaboklab(51.58% 0.1534 -0.1456)
OKLCHoklch(51.58% 0.211 316.5)
XYZxyz(21.7750, 11.6446, 45.3475)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DB6 #4EB62D
analogous
#502DB6 #952DB6 #B62D93
triadic
#952DB6 #B6952D #2DB695
tetradic
#952DB6 #B6502D #4EB62D #2D93B6
square
#952DB6 #B6502D #4EB62D #2D93B6
split-complementary
#952DB6 #93B62D #2DB650
monochromatic
#451554 #6D2185 #952DB6 #B34DD3 #C87EDF

Accessibility & contrast

On white

6.31
#952DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#952DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952DB6
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DB6#FFFFFF#000000##FFFFFF
##952DB61.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#2D63B3
Tritanopia (blue-blind)
#934B70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #952db6;
/* rgb */ color: rgb(149, 45, 182);
/* oklch */ color: oklch(51.6% 0.211 316.5);
Tailwind
colors: {
  custom: {
    50: '#b871cd',
    500: '#952db6',
    950: '#000000',
  },
}
SCSS
$custom: #952db6;
$custom-light: #b871cd;
$custom-dark: #000000;
JSON
{
  "hex": "#952db6",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 285.547,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51579,
    "c": 0.21148,
    "h": 316.5
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#952DB6
secondary
#8AC877
accent
#E3446B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #952DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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