#952D96#952D96

#952D96 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.5% C 0.184 H 327.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#952D96
RGBrgb(149, 45, 150)
HSLhsl(299, 54%, 38%)
HSVhsv(299, 70%, 59%)
CMYKcmyk(0.7%, 70%, 0%, 41.2%)
CIE-LABlab(38.67, 55.86, -35.70)
CIE-LCHlch(38.67, 66.30, 327.42°)
OKLaboklab(49.54% 0.1553 -0.0989)
OKLCHoklch(49.54% 0.184 327.5)
XYZxyz(18.8376, 10.4696, 29.8769)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D96 #2E962D
analogous
#612D96 #952D96 #962D62
triadic
#952D96 #96952D #2D9695
tetradic
#952D96 #96612D #2E962D #2D6296
square
#952D96 #96612D #2E962D #2D6296
split-complementary
#952D96 #62962D #2D9661
monochromatic
#371138 #661F67 #952D96 #C33CC4 #D26BD3

Accessibility & contrast

On white

6.79
#952D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#952D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952D96
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D96#FFFFFF#000000##FFFFFF
##952D961.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5299
Deuteranopia (green-blind)
#476093
Tritanopia (blue-blind)
#993C5E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952d96;
/* rgb */ color: rgb(149, 45, 150);
/* oklch */ color: oklch(49.5% 0.184 327.5);
Tailwind
colors: {
  custom: {
    50: '#b770b5',
    500: '#952d96',
    950: '#000000',
  },
}
SCSS
$custom: #952d96;
$custom-light: #b770b5;
$custom-dark: #000000;
JSON
{
  "hex": "#952d96",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 299.429,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49539,
    "c": 0.18411,
    "h": 327.5
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

primary
#952D96
secondary
#66B965
accent
#DD4B4C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952D96

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

Preview Lab → · Contrast checker → · Palette generator →

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