#952D99#952D99

#952D99 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.187 H 326.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#952D99
RGBrgb(149, 45, 153)
HSLhsl(298, 55%, 39%)
HSVhsv(298, 71%, 60%)
CMYKcmyk(2.6%, 70.6%, 0%, 40%)
CIE-LABlab(38.84, 56.39, -37.25)
CIE-LCHlch(38.84, 67.58, 326.55°)
OKLaboklab(49.72% 0.1553 -0.1034)
OKLCHoklch(49.72% 0.187 326.4)
XYZxyz(19.0822, 10.5675, 31.1655)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D99 #31992D
analogous
#5F2D99 #952D99 #992D67
triadic
#952D99 #99952D #2D9995
tetradic
#952D99 #995F2D #31992D #2D6799
square
#952D99 #995F2D #31992D #2D6799
split-complementary
#952D99 #67992D #2D995F
monochromatic
#39113A #671F6A #952D99 #C13DC6 #D06CD4

Accessibility & contrast

On white

6.75
#952D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#952D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952D99
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D99#FFFFFF#000000##FFFFFF
##952D991.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16539C
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#993E60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952d99;
/* rgb */ color: rgb(149, 45, 153);
/* oklch */ color: oklch(49.7% 0.187 326.4);
Tailwind
colors: {
  custom: {
    50: '#b770b7',
    500: '#952d99',
    950: '#000000',
  },
}
SCSS
$custom: #952d99;
$custom-light: #b770b7;
$custom-dark: #000000;
JSON
{
  "hex": "#952d99",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 297.778,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49716,
    "c": 0.18659,
    "h": 326.4
  },
  "luminance": 0.10566
}

Semantic roles & 50–950 ramp

primary
#952D99
secondary
#6ABB67
accent
#DE4A4F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952D99

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

Preview Lab → · Contrast checker → · Palette generator →

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