#952D84#952D84

#952D84 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.170 H 335.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#952D84
RGBrgb(149, 45, 132)
HSLhsl(310, 54%, 38%)
HSVhsv(310, 70%, 58%)
CMYKcmyk(0%, 69.8%, 11.4%, 41.6%)
CIE-LABlab(37.72, 52.87, -26.18)
CIE-LCHlch(37.72, 59.00, 333.66°)
OKLaboklab(48.55% 0.1541 -0.0714)
OKLCHoklch(48.55% 0.17 335.1)
XYZxyz(17.4979, 9.9338, 22.8212)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D84 #2D953E
analogous
#722D95 #952D84 #952D50
triadic
#952D84 #84952D #2D8495
tetradic
#952D84 #95722D #2D953E #2D5095
square
#952D84 #95722D #2D953E #2D5095
split-complementary
#952D84 #50952D #2D9572
monochromatic
#371131 #661F5A #952D84 #C43BAE #D26AC1

Accessibility & contrast

On white

7.03
#952D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#952D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952D84
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D84#FFFFFF#000000##FFFFFF
##952D841.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4F86
Deuteranopia (green-blind)
#505E81
Tritanopia (blue-blind)
#9C3454
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952d84;
/* rgb */ color: rgb(149, 45, 132);
/* oklch */ color: oklch(48.5% 0.170 335.1);
Tailwind
colors: {
  custom: {
    50: '#b76fa8',
    500: '#952d84',
    950: '#000000',
  },
}
SCSS
$custom: #952d84;
$custom-light: #b76fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#952d84",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 309.808,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48546,
    "c": 0.16985,
    "h": 335.1
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

primary
#952D84
secondary
#65B973
accent
#DD634B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952D84

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

Preview Lab → · Contrast checker → · Palette generator →

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