#952C8D#952C8D

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

Color values

HEX#952C8D
RGBrgb(149, 44, 141)
HSLhsl(305, 54%, 38%)
HSVhsv(305, 70%, 58%)
CMYKcmyk(0%, 70.5%, 5.4%, 41.6%)
CIE-LABlab(38.05, 54.71, -31.20)
CIE-LCHlch(38.05, 62.98, 330.31°)
OKLaboklab(48.93% 0.156 -0.0858)
OKLCHoklch(48.93% 0.178 331.2)
XYZxyz(18.1028, 10.1154, 26.1932)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952C8D #2C9534
analogous
#682C95 #952C8D #952C59
triadic
#952C8D #8D952C #2C8D95
tetradic
#952C8D #95682C #2C9534 #2C5995
square
#952C8D #95682C #2C9534 #2C5995
split-complementary
#952C8D #59952C #2C9568
monochromatic
#371034 #661E60 #952C8D #C43ABA #D369CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##952C8D#FFFFFF#000000##FFFFFF
##952C8D1.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)
#245090
Deuteranopia (green-blind)
#4C5F8A
Tritanopia (blue-blind)
#9B3859
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952c8d;
/* rgb */ color: rgb(149, 44, 141);
/* oklch */ color: oklch(48.9% 0.178 331.2);
Tailwind
colors: {
  custom: {
    50: '#b76faf',
    500: '#952c8d',
    950: '#000000',
  },
}
SCSS
$custom: #952c8d;
$custom-light: #b76faf;
$custom-dark: #000000;
JSON
{
  "hex": "#952c8d",
  "rgb": {
    "r": 149,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 304.571,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48931,
    "c": 0.17807,
    "h": 331.2
  },
  "luminance": 0.10114
}

Semantic roles & 50–950 ramp

primary
#952C8D
secondary
#64B96A
accent
#DE554A
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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