#952C8F#952C8F

#952C8F is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.180 H 330.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#952C8F
RGBrgb(149, 44, 143)
HSLhsl(303, 54%, 38%)
HSVhsv(303, 70%, 58%)
CMYKcmyk(0%, 70.5%, 4%, 41.6%)
CIE-LABlab(38.16, 55.04, -32.25)
CIE-LCHlch(38.16, 63.80, 329.63°)
OKLaboklab(49.04% 0.1561 -0.0889)
OKLCHoklch(49.04% 0.18 330.3)
XYZxyz(18.2530, 10.1755, 26.9840)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952C8F #2C9532
analogous
#672C95 #952C8F #952C5A
triadic
#952C8F #8F952C #2C8F95
tetradic
#952C8F #95672C #2C9532 #2C5A95
square
#952C8F #95672C #2C9532 #2C5A95
split-complementary
#952C8F #5A952C #2C9567
monochromatic
#371034 #661E62 #952C8F #C43ABC #D369CD

Accessibility & contrast

On white

6.92
#952C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#952C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952C8F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952C8F#FFFFFF#000000##FFFFFF
##952C8F1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#9B395A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952c8f;
/* rgb */ color: rgb(149, 44, 143);
/* oklch */ color: oklch(49.0% 0.180 330.3);
Tailwind
colors: {
  custom: {
    50: '#b76fb0',
    500: '#952c8f',
    950: '#000000',
  },
}
SCSS
$custom: #952c8f;
$custom-light: #b76fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#952c8f",
  "rgb": {
    "r": 149,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 303.429,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49043,
    "c": 0.17966,
    "h": 330.3
  },
  "luminance": 0.10174
}

Semantic roles & 50–950 ramp

primary
#952C8F
secondary
#64B968
accent
#DE524A
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #952C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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