#952A8E#952A8E

#952A8E is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.181 H 330.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#952A8E
RGBrgb(149, 42, 142)
HSLhsl(304, 56%, 37%)
HSVhsv(304, 72%, 58%)
CMYKcmyk(0%, 71.8%, 4.7%, 41.6%)
CIE-LABlab(37.84, 55.61, -32.14)
CIE-LCHlch(37.84, 64.23, 329.98°)
OKLaboklab(48.8% 0.1582 -0.0885)
OKLCHoklch(48.8% 0.181 330.8)
XYZxyz(18.1048, 9.9999, 26.5626)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A8E #2A9531
analogous
#662A95 #952A8E #952A59
triadic
#952A8E #8E952A #2A8E95
tetradic
#952A8E #95662A #2A9531 #2A5995
square
#952A8E #95662A #2A9531 #2A5995
split-complementary
#952A8E #59952A #2A9566
monochromatic
#360F33 #651D61 #952A8E #C537BC #D466CD

Accessibility & contrast

On white

7.00
#952A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#952A8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952A8E
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A8E#FFFFFF#000000##FFFFFF
##952A8E1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205091
Deuteranopia (green-blind)
#4A5E8B
Tritanopia (blue-blind)
#9B3759
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952a8e;
/* rgb */ color: rgb(149, 42, 142);
/* oklch */ color: oklch(48.8% 0.181 330.8);
Tailwind
colors: {
  custom: {
    50: '#b76eaf',
    500: '#952a8e',
    950: '#000000',
  },
}
SCSS
$custom: #952a8e;
$custom-light: #b76eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#952a8e",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 303.925,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.488,
    "c": 0.18128,
    "h": 330.8
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

primary
#952A8E
secondary
#61BA67
accent
#DF5248
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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