#952D87#952D87

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

Color values

HEX#952D87
RGBrgb(149, 45, 135)
HSLhsl(308, 54%, 38%)
HSVhsv(308, 70%, 58%)
CMYKcmyk(0%, 69.8%, 9.4%, 41.6%)
CIE-LABlab(37.87, 53.35, -27.79)
CIE-LCHlch(37.87, 60.15, 332.48°)
OKLaboklab(48.7% 0.1544 -0.076)
OKLCHoklch(48.7% 0.172 333.8)
XYZxyz(17.7061, 10.0171, 23.9179)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D87 #2D953B
analogous
#6F2D95 #952D87 #952D53
triadic
#952D87 #87952D #2D8795
tetradic
#952D87 #956F2D #2D953B #2D5395
square
#952D87 #956F2D #2D953B #2D5395
split-complementary
#952D87 #53952D #2D956F
monochromatic
#371132 #661F5C #952D87 #C43BB2 #D26AC4

Accessibility & contrast

On white

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

On black

3.00
#952D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##952D87#FFFFFF#000000##FFFFFF
##952D871.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4F8A
Deuteranopia (green-blind)
#4F5F84
Tritanopia (blue-blind)
#9C3656
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952d87;
/* rgb */ color: rgb(149, 45, 135);
/* oklch */ color: oklch(48.7% 0.172 333.8);
Tailwind
colors: {
  custom: {
    50: '#b76faa',
    500: '#952d87',
    950: '#000000',
  },
}
SCSS
$custom: #952d87;
$custom-light: #b76faa;
$custom-dark: #000000;
JSON
{
  "hex": "#952d87",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 308.077,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48703,
    "c": 0.17214,
    "h": 333.8
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#952D87
secondary
#65B970
accent
#DD5E4B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952D87

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

Preview Lab → · Contrast checker → · Palette generator →

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