#952D8F#952D8F

#952D8F is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.178 H 330.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#952D8F
RGBrgb(149, 45, 143)
HSLhsl(303, 54%, 38%)
HSVhsv(303, 70%, 58%)
CMYKcmyk(0%, 69.8%, 4%, 41.6%)
CIE-LABlab(38.29, 54.66, -32.04)
CIE-LCHlch(38.29, 63.36, 329.62°)
OKLaboklab(49.14% 0.1551 -0.0883)
OKLCHoklch(49.14% 0.178 330.3)
XYZxyz(18.2907, 10.2509, 26.9965)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D8F #2D9533
analogous
#672D95 #952D8F #952D5B
triadic
#952D8F #8F952D #2D8F95
tetradic
#952D8F #95672D #2D9533 #2D5B95
square
#952D8F #95672D #2D9533 #2D5B95
split-complementary
#952D8F #5B952D #2D9567
monochromatic
#371135 #661F62 #952D8F #C43BBC #D26ACC

Accessibility & contrast

On white

6.89
#952D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#952D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952D8F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D8F#FFFFFF#000000##FFFFFF
##952D8F1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#9B395A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952d8f;
/* rgb */ color: rgb(149, 45, 143);
/* oklch */ color: oklch(49.1% 0.178 330.3);
Tailwind
colors: {
  custom: {
    50: '#b76fb0',
    500: '#952d8f',
    950: '#000000',
  },
}
SCSS
$custom: #952d8f;
$custom-light: #b76fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#952d8f",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 303.462,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49139,
    "c": 0.17842,
    "h": 330.3
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#952D8F
secondary
#65B96A
accent
#DD534B
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #952D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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