#952D9C#952D9C

#952D9C is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.189 H 325.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#952D9C
RGBrgb(149, 45, 156)
HSLhsl(296, 55%, 39%)
HSVhsv(296, 71%, 61%)
CMYKcmyk(4.5%, 71.2%, 0%, 38.8%)
CIE-LABlab(39.02, 56.92, -38.79)
CIE-LCHlch(39.02, 68.88, 325.73°)
OKLaboklab(49.9% 0.1553 -0.1078)
OKLCHoklch(49.9% 0.189 325.2)
XYZxyz(19.3331, 10.6679, 32.4868)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D9C #349C2D
analogous
#5E2D9C #952D9C #9C2D6C
triadic
#952D9C #9C952D #2D9C95
tetradic
#952D9C #9C5E2D #349C2D #2D6C9C
square
#952D9C #9C5E2D #349C2D #2D6C9C
split-complementary
#952D9C #6C9C2D #2D9C5E
monochromatic
#3A123D #681F6D #952D9C #BF3FC8 #CF6ED5

Accessibility & contrast

On white

6.70
#952D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952D9C
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D9C#FFFFFF#000000##FFFFFF
##952D9C1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10549F
Deuteranopia (green-blind)
#446099
Tritanopia (blue-blind)
#983F61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952d9c;
/* rgb */ color: rgb(149, 45, 156);
/* oklch */ color: oklch(49.9% 0.189 325.2);
Tailwind
colors: {
  custom: {
    50: '#b870ba',
    500: '#952d9c',
    950: '#000000',
  },
}
SCSS
$custom: #952d9c;
$custom-light: #b870ba;
$custom-dark: #000000;
JSON
{
  "hex": "#952d9c",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 296.216,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49896,
    "c": 0.18909,
    "h": 325.2
  },
  "luminance": 0.10667
}

Semantic roles & 50–950 ramp

primary
#952D9C
secondary
#6EBC68
accent
#DF4953
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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