#952D8A#952D8A

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

Color values

HEX#952D8A
RGBrgb(149, 45, 138)
HSLhsl(306, 54%, 38%)
HSVhsv(306, 70%, 58%)
CMYKcmyk(0%, 69.8%, 7.4%, 41.6%)
CIE-LABlab(38.03, 53.84, -29.39)
CIE-LCHlch(38.03, 61.34, 331.37°)
OKLaboklab(48.86% 0.1547 -0.0806)
OKLCHoklch(48.86% 0.174 332.5)
XYZxyz(17.9203, 10.1027, 25.0460)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D8A #2D9538
analogous
#6C2D95 #952D8A #952D56
triadic
#952D8A #8A952D #2D8A95
tetradic
#952D8A #956C2D #2D9538 #2D5695
square
#952D8A #956C2D #2D9538 #2D5695
split-complementary
#952D8A #56952D #2D956C
monochromatic
#371133 #661F5E #952D8A #C43BB5 #D26AC7

Accessibility & contrast

On white

6.95
#952D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#952D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952D8A
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D8A#FFFFFF#000000##FFFFFF
##952D8A1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#4D5F87
Tritanopia (blue-blind)
#9B3758
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952d8a;
/* rgb */ color: rgb(149, 45, 138);
/* oklch */ color: oklch(48.9% 0.174 332.5);
Tailwind
colors: {
  custom: {
    50: '#b76fac',
    500: '#952d8a',
    950: '#000000',
  },
}
SCSS
$custom: #952d8a;
$custom-light: #b76fac;
$custom-dark: #000000;
JSON
{
  "hex": "#952d8a",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 306.346,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48864,
    "c": 0.17446,
    "h": 332.5
  },
  "luminance": 0.10101
}

Semantic roles & 50–950 ramp

primary
#952D8A
secondary
#65B96E
accent
#DD5A4B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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