#952DB1#952DB1

#952DB1 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.207 H 318.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#952DB1
RGBrgb(149, 45, 177)
HSLhsl(287, 59%, 44%)
HSVhsv(287, 75%, 69%)
CMYKcmyk(15.8%, 74.6%, 0%, 30.6%)
CIE-LABlab(40.31, 60.81, -49.27)
CIE-LCHlch(40.31, 78.27, 320.99°)
OKLaboklab(51.24% 0.154 -0.1385)
OKLCHoklch(51.24% 0.207 318)
XYZxyz(21.2675, 11.4416, 42.6746)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DB1 #49B12D
analogous
#532DB1 #952DB1 #B12D8B
triadic
#952DB1 #B1952D #2DB195
tetradic
#952DB1 #B1532D #49B12D #2D8BB1
square
#952DB1 #B1532D #49B12D #2D8BB1
split-complementary
#952DB1 #8BB12D #2DB153
monochromatic
#43144F #6C2180 #952DB1 #B44AD1 #C97BDD

Accessibility & contrast

On white

6.39
#952DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#952DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952DB1
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DB1#FFFFFF#000000##FFFFFF
##952DB11.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#3362AE
Tritanopia (blue-blind)
#94496D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952db1;
/* rgb */ color: rgb(149, 45, 177);
/* oklch */ color: oklch(51.2% 0.207 318.0);
Tailwind
colors: {
  custom: {
    50: '#b871c9',
    500: '#952db1',
    950: '#000000',
  },
}
SCSS
$custom: #952db1;
$custom-light: #b871c9;
$custom-dark: #000000;
JSON
{
  "hex": "#952db1",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 287.273,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51239,
    "c": 0.20711,
    "h": 318
  },
  "luminance": 0.11441
}

Semantic roles & 50–950 ramp

primary
#952DB1
secondary
#85C674
accent
#E34567
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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