#952C8A#952C8A

#952C8A is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.176 H 332.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#952C8A
RGBrgb(149, 44, 138)
HSLhsl(306, 54%, 38%)
HSVhsv(306, 70%, 58%)
CMYKcmyk(0%, 70.5%, 7.4%, 41.6%)
CIE-LABlab(37.89, 54.22, -29.61)
CIE-LCHlch(37.89, 61.77, 331.36°)
OKLaboklab(48.77% 0.1558 -0.0812)
OKLCHoklch(48.77% 0.176 332.5)
XYZxyz(17.8826, 10.0273, 25.0335)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952C8A #2C9537
analogous
#6C2C95 #952C8A #952C55
triadic
#952C8A #8A952C #2C8A95
tetradic
#952C8A #956C2C #2C9537 #2C5595
square
#952C8A #956C2C #2C9537 #2C5595
split-complementary
#952C8A #55952C #2C956C
monochromatic
#371032 #661E5E #952C8A #C43AB6 #D369C8

Accessibility & contrast

On white

6.99
#952C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#952C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952C8A
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952C8A#FFFFFF#000000##FFFFFF
##952C8A1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#4D5E87
Tritanopia (blue-blind)
#9B3657
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952c8a;
/* rgb */ color: rgb(149, 44, 138);
/* oklch */ color: oklch(48.8% 0.176 332.5);
Tailwind
colors: {
  custom: {
    50: '#b76fac',
    500: '#952c8a',
    950: '#000000',
  },
}
SCSS
$custom: #952c8a;
$custom-light: #b76fac;
$custom-dark: #000000;
JSON
{
  "hex": "#952c8a",
  "rgb": {
    "r": 149,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 306.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48767,
    "c": 0.17572,
    "h": 332.5
  },
  "luminance": 0.10026
}

Semantic roles & 50–950 ramp

primary
#952C8A
secondary
#64B96D
accent
#DE5A4A
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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