#952D8B#952D8B

#952D8B is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.175 H 332.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#952D8B
RGBrgb(149, 45, 139)
HSLhsl(306, 54%, 38%)
HSVhsv(306, 70%, 58%)
CMYKcmyk(0%, 69.8%, 6.7%, 41.6%)
CIE-LABlab(38.08, 54.00, -29.93)
CIE-LCHlch(38.08, 61.74, 331.00°)
OKLaboklab(48.92% 0.1548 -0.0822)
OKLCHoklch(48.92% 0.175 332)
XYZxyz(17.9930, 10.1318, 25.4291)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D8B #2D9537
analogous
#6B2D95 #952D8B #952D57
triadic
#952D8B #8B952D #2D8B95
tetradic
#952D8B #956B2D #2D9537 #2D5795
square
#952D8B #956B2D #2D9537 #2D5795
split-complementary
#952D8B #57952D #2D956B
monochromatic
#371133 #661F5F #952D8B #C43BB7 #D26AC8

Accessibility & contrast

On white

6.94
#952D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#952D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952D8B
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D8B#FFFFFF#000000##FFFFFF
##952D8B1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508E
Deuteranopia (green-blind)
#4D5F88
Tritanopia (blue-blind)
#9B3858
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952d8b;
/* rgb */ color: rgb(149, 45, 139);
/* oklch */ color: oklch(48.9% 0.175 332.0);
Tailwind
colors: {
  custom: {
    50: '#b76fad',
    500: '#952d8b',
    950: '#000000',
  },
}
SCSS
$custom: #952d8b;
$custom-light: #b76fad;
$custom-dark: #000000;
JSON
{
  "hex": "#952d8b",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 305.769,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48918,
    "c": 0.17525,
    "h": 332
  },
  "luminance": 0.1013
}

Semantic roles & 50–950 ramp

primary
#952D8B
secondary
#65B96D
accent
#DD594B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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