#952D9B#952D9B

#952D9B is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.188 H 325.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#952D9B
RGBrgb(149, 45, 155)
HSLhsl(297, 55%, 39%)
HSVhsv(297, 71%, 61%)
CMYKcmyk(3.9%, 71%, 0%, 39.2%)
CIE-LABlab(38.96, 56.74, -38.28)
CIE-LCHlch(38.96, 68.44, 326.00°)
OKLaboklab(49.84% 0.1553 -0.1064)
OKLCHoklch(49.84% 0.188 325.6)
XYZxyz(19.2488, 10.6341, 32.0427)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D9B #339B2D
analogous
#5E2D9B #952D9B #9B2D6A
triadic
#952D9B #9B952D #2D9B95
tetradic
#952D9B #9B5E2D #339B2D #2D6A9B
square
#952D9B #9B5E2D #339B2D #2D6A9B
split-complementary
#952D9B #6A9B2D #2D9B5E
monochromatic
#3A113C #671F6C #952D9B #C03EC7 #CF6ED5

Accessibility & contrast

On white

6.72
#952D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#952D9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952D9B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D9B#FFFFFF#000000##FFFFFF
##952D9B1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12539E
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#993F61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952d9b;
/* rgb */ color: rgb(149, 45, 155);
/* oklch */ color: oklch(49.8% 0.188 325.6);
Tailwind
colors: {
  custom: {
    50: '#b770b9',
    500: '#952d9b',
    950: '#000000',
  },
}
SCSS
$custom: #952d9b;
$custom-light: #b770b9;
$custom-dark: #000000;
JSON
{
  "hex": "#952d9b",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 296.727,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.18825,
    "h": 325.6
  },
  "luminance": 0.10633
}

Semantic roles & 50–950 ramp

primary
#952D9B
secondary
#6CBC68
accent
#DE4952
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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