#952DB5#952DB5

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

Color values

HEX#952DB5
RGBrgb(149, 45, 181)
HSLhsl(286, 60%, 44%)
HSVhsv(286, 75%, 71%)
CMYKcmyk(17.7%, 75.1%, 0%, 29%)
CIE-LABlab(40.58, 61.59, -51.21)
CIE-LCHlch(40.58, 80.10, 320.26°)
OKLaboklab(51.51% 0.1535 -0.1442)
OKLCHoklch(51.51% 0.211 316.8)
XYZxyz(21.6720, 11.6034, 44.8052)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DB5 #4DB52D
analogous
#512DB5 #952DB5 #B52D91
triadic
#952DB5 #B5952D #2DB595
tetradic
#952DB5 #B5512D #4DB52D #2D91B5
square
#952DB5 #B5512D #4DB52D #2D91B5
split-complementary
#952DB5 #91B52D #2DB551
monochromatic
#441553 #6D2184 #952DB5 #B34DD3 #C87EDF

Accessibility & contrast

On white

6.32
#952DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#952DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952DB5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DB5#FFFFFF#000000##FFFFFF
##952DB51.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#2E63B2
Tritanopia (blue-blind)
#934A6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #952db5;
/* rgb */ color: rgb(149, 45, 181);
/* oklch */ color: oklch(51.5% 0.211 316.8);
Tailwind
colors: {
  custom: {
    50: '#b871cc',
    500: '#952db5',
    950: '#000000',
  },
}
SCSS
$custom: #952db5;
$custom-light: #b871cc;
$custom-dark: #000000;
JSON
{
  "hex": "#952db5",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 285.882,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.21061,
    "h": 316.8
  },
  "luminance": 0.11603
}

Semantic roles & 50–950 ramp

primary
#952DB5
secondary
#89C776
accent
#E3446A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #952DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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