#952D8E#952D8E

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

Color values

HEX#952D8E
RGBrgb(149, 45, 142)
HSLhsl(304, 54%, 38%)
HSVhsv(304, 70%, 58%)
CMYKcmyk(0%, 69.8%, 4.7%, 41.6%)
CIE-LABlab(38.24, 54.50, -31.52)
CIE-LCHlch(38.24, 62.95, 329.96°)
OKLaboklab(49.08% 0.155 -0.0867)
OKLCHoklch(49.08% 0.178 330.8)
XYZxyz(18.2152, 10.2207, 26.5994)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D8E #2D9534
analogous
#682D95 #952D8E #952D5A
triadic
#952D8E #8E952D #2D8E95
tetradic
#952D8E #95682D #2D9534 #2D5A95
square
#952D8E #95682D #2D9534 #2D5A95
split-complementary
#952D8E #5A952D #2D9568
monochromatic
#371134 #661F61 #952D8E #C43BBB #D26ACB

Accessibility & contrast

On white

6.90
#952D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952D8E
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D8E#FFFFFF#000000##FFFFFF
##952D8E1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #952d8e;
/* rgb */ color: rgb(149, 45, 142);
/* oklch */ color: oklch(49.1% 0.178 330.8);
Tailwind
colors: {
  custom: {
    50: '#b76faf',
    500: '#952d8e',
    950: '#000000',
  },
}
SCSS
$custom: #952d8e;
$custom-light: #b76faf;
$custom-dark: #000000;
JSON
{
  "hex": "#952d8e",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 304.038,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49083,
    "c": 0.17762,
    "h": 330.8
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#952D8E
secondary
#65B96A
accent
#DD554B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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