#952D88#952D88

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

Color values

HEX#952D88
RGBrgb(149, 45, 136)
HSLhsl(308, 54%, 38%)
HSVhsv(308, 70%, 58%)
CMYKcmyk(0%, 69.8%, 8.7%, 41.6%)
CIE-LABlab(37.92, 53.51, -28.33)
CIE-LCHlch(37.92, 60.55, 332.10°)
OKLaboklab(48.76% 0.1545 -0.0776)
OKLCHoklch(48.76% 0.173 333.3)
XYZxyz(17.7768, 10.0454, 24.2905)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D88 #2D953A
analogous
#6E2D95 #952D88 #952D54
triadic
#952D88 #88952D #2D8895
tetradic
#952D88 #956E2D #2D953A #2D5495
square
#952D88 #956E2D #2D953A #2D5495
split-complementary
#952D88 #54952D #2D956E
monochromatic
#371132 #661F5D #952D88 #C43BB3 #D26AC5

Accessibility & contrast

On white

6.98
#952D88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952D88
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D88#FFFFFF#000000##FFFFFF
##952D881.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A508B
Deuteranopia (green-blind)
#4E5F85
Tritanopia (blue-blind)
#9C3657
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952d88;
/* rgb */ color: rgb(149, 45, 136);
/* oklch */ color: oklch(48.8% 0.173 333.3);
Tailwind
colors: {
  custom: {
    50: '#b76fab',
    500: '#952d88',
    950: '#000000',
  },
}
SCSS
$custom: #952d88;
$custom-light: #b76fab;
$custom-dark: #000000;
JSON
{
  "hex": "#952d88",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 307.5,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48757,
    "c": 0.17291,
    "h": 333.3
  },
  "luminance": 0.10044
}

Semantic roles & 50–950 ramp

primary
#952D88
secondary
#65B96F
accent
#DD5D4B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952D88

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

Preview Lab → · Contrast checker → · Palette generator →

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