#952DB2#952DB2

#952DB2 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.208 H 317.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#952DB2
RGBrgb(149, 45, 178)
HSLhsl(287, 60%, 44%)
HSVhsv(287, 75%, 70%)
CMYKcmyk(16.3%, 74.7%, 0%, 30.2%)
CIE-LABlab(40.38, 61.01, -49.76)
CIE-LCHlch(40.38, 78.72, 320.80°)
OKLaboklab(51.31% 0.1539 -0.1399)
OKLCHoklch(51.31% 0.208 317.7)
XYZxyz(21.3675, 11.4816, 43.2015)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DB2 #4AB22D
analogous
#522DB2 #952DB2 #B22D8C
triadic
#952DB2 #B2952D #2DB295
tetradic
#952DB2 #B2522D #4AB22D #2D8CB2
square
#952DB2 #B2522D #4AB22D #2D8CB2
split-complementary
#952DB2 #8CB22D #2DB252
monochromatic
#431450 #6C2181 #952DB2 #B44BD1 #C87CDE

Accessibility & contrast

On white

6.37
#952DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#952DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952DB2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DB2#FFFFFF#000000##FFFFFF
##952DB21.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#3262AF
Tritanopia (blue-blind)
#94496E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952db2;
/* rgb */ color: rgb(149, 45, 178);
/* oklch */ color: oklch(51.3% 0.208 317.7);
Tailwind
colors: {
  custom: {
    50: '#b871ca',
    500: '#952db2',
    950: '#000000',
  },
}
SCSS
$custom: #952db2;
$custom-light: #b871ca;
$custom-dark: #000000;
JSON
{
  "hex": "#952db2",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 286.917,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51306,
    "c": 0.20799,
    "h": 317.7
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

primary
#952DB2
secondary
#86C675
accent
#E34567
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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