#952DB9#952DB9

#952DB9 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.214 H 315.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#952DB9
RGBrgb(149, 45, 185)
HSLhsl(285, 61%, 45%)
HSVhsv(285, 76%, 73%)
CMYKcmyk(19.5%, 75.7%, 0%, 27.5%)
CIE-LABlab(40.85, 62.37, -53.13)
CIE-LCHlch(40.85, 81.93, 319.57°)
OKLaboklab(51.79% 0.153 -0.1498)
OKLCHoklch(51.79% 0.214 315.6)
XYZxyz(22.0884, 11.7700, 46.9978)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DB9 #51B92D
analogous
#4F2DB9 #952DB9 #B92D97
triadic
#952DB9 #B9952D #2DB995
tetradic
#952DB9 #B94F2D #51B92D #2D97B9
square
#952DB9 #B94F2D #51B92D #2D97B9
split-complementary
#952DB9 #97B92D #2DB94F
monochromatic
#461557 #6D2188 #952DB9 #B24FD4 #C780E0

Accessibility & contrast

On white

6.26
#952DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#952DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952DB9
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DB9#FFFFFF#000000##FFFFFF
##952DB91.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#2963B6
Tritanopia (blue-blind)
#924C72
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #952db9;
/* rgb */ color: rgb(149, 45, 185);
/* oklch */ color: oklch(51.8% 0.214 315.6);
Tailwind
colors: {
  custom: {
    50: '#b871cf',
    500: '#952db9',
    950: '#000000',
  },
}
SCSS
$custom: #952db9;
$custom-light: #b871cf;
$custom-dark: #000000;
JSON
{
  "hex": "#952db9",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 284.571,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51786,
    "c": 0.21412,
    "h": 315.6
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#952DB9
secondary
#8DC979
accent
#E4446D
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #952DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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