#952C87#952C87

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

Color values

HEX#952C87
RGBrgb(149, 44, 135)
HSLhsl(308, 54%, 38%)
HSVhsv(308, 70%, 58%)
CMYKcmyk(0%, 70.5%, 9.4%, 41.6%)
CIE-LABlab(37.74, 53.73, -28.00)
CIE-LCHlch(37.74, 60.59, 332.47°)
OKLaboklab(48.61% 0.1556 -0.0766)
OKLCHoklch(48.61% 0.173 333.8)
XYZxyz(17.6684, 9.9417, 23.9053)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952C87 #2C953A
analogous
#6E2C95 #952C87 #952C52
triadic
#952C87 #87952C #2C8795
tetradic
#952C87 #956E2C #2C953A #2C5295
square
#952C87 #956E2C #2C953A #2C5295
split-complementary
#952C87 #52952C #2C956E
monochromatic
#371031 #661E5C #952C87 #C43AB2 #D369C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##952C87#FFFFFF#000000##FFFFFF
##952C871.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)
#294F8A
Deuteranopia (green-blind)
#4E5E84
Tritanopia (blue-blind)
#9C3556
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952c87;
/* rgb */ color: rgb(149, 44, 135);
/* oklch */ color: oklch(48.6% 0.173 333.8);
Tailwind
colors: {
  custom: {
    50: '#b76faa',
    500: '#952c87',
    950: '#000000',
  },
}
SCSS
$custom: #952c87;
$custom-light: #b76faa;
$custom-dark: #000000;
JSON
{
  "hex": "#952c87",
  "rgb": {
    "r": 149,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 308,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48605,
    "c": 0.1734,
    "h": 333.8
  },
  "luminance": 0.0994
}

Semantic roles & 50–950 ramp

primary
#952C87
secondary
#64B96F
accent
#DE5E4A
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952C87

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

Preview Lab → · Contrast checker → · Palette generator →

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