#952D8D#952D8D

#952D8D is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.177 H 331.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#952D8D
RGBrgb(149, 45, 141)
HSLhsl(305, 54%, 38%)
HSVhsv(305, 70%, 58%)
CMYKcmyk(0%, 69.8%, 5.4%, 41.6%)
CIE-LABlab(38.18, 54.33, -30.99)
CIE-LCHlch(38.18, 62.55, 330.30°)
OKLaboklab(49.03% 0.1549 -0.0852)
OKLCHoklch(49.03% 0.177 331.2)
XYZxyz(18.1405, 10.1908, 26.2057)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D8D #2D9535
analogous
#692D95 #952D8D #952D59
triadic
#952D8D #8D952D #2D8D95
tetradic
#952D8D #95692D #2D9535 #2D5995
square
#952D8D #95692D #2D9535 #2D5995
split-complementary
#952D8D #59952D #2D9569
monochromatic
#371134 #661F61 #952D8D #C43BB9 #D26ACA

Accessibility & contrast

On white

6.91
#952D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#952D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952D8D
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D8D#FFFFFF#000000##FFFFFF
##952D8D1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255190
Deuteranopia (green-blind)
#4C5F8A
Tritanopia (blue-blind)
#9B3859
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952d8d;
/* rgb */ color: rgb(149, 45, 141);
/* oklch */ color: oklch(49.0% 0.177 331.2);
Tailwind
colors: {
  custom: {
    50: '#b76fae',
    500: '#952d8d',
    950: '#000000',
  },
}
SCSS
$custom: #952d8d;
$custom-light: #b76fae;
$custom-dark: #000000;
JSON
{
  "hex": "#952d8d",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 304.615,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49028,
    "c": 0.17683,
    "h": 331.2
  },
  "luminance": 0.10189
}

Semantic roles & 50–950 ramp

primary
#952D8D
secondary
#65B96B
accent
#DD564B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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