#952A8D#952A8D

#952A8D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.180 H 331.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#952A8D
RGBrgb(149, 42, 141)
HSLhsl(304, 56%, 37%)
HSVhsv(304, 72%, 58%)
CMYKcmyk(0%, 71.8%, 5.4%, 41.6%)
CIE-LABlab(37.79, 55.44, -31.61)
CIE-LCHlch(37.79, 63.82, 330.31°)
OKLaboklab(48.74% 0.1582 -0.087)
OKLCHoklch(48.74% 0.181 331.2)
XYZxyz(18.0301, 9.9700, 26.1689)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A8D #2A9532
analogous
#682A95 #952A8D #952A58
triadic
#952A8D #8D952A #2A8D95
tetradic
#952A8D #95682A #2A9532 #2A5895
square
#952A8D #95682A #2A9532 #2A5895
split-complementary
#952A8D #58952A #2A9568
monochromatic
#360F33 #651D60 #952A8D #C537BA #D466CC

Accessibility & contrast

On white

7.01
#952A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#952A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952A8D
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A8D#FFFFFF#000000##FFFFFF
##952A8D1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#4B5E8A
Tritanopia (blue-blind)
#9B3658
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952a8d;
/* rgb */ color: rgb(149, 42, 141);
/* oklch */ color: oklch(48.7% 0.180 331.2);
Tailwind
colors: {
  custom: {
    50: '#b76eaf',
    500: '#952a8d',
    950: '#000000',
  },
}
SCSS
$custom: #952a8d;
$custom-light: #b76eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#952a8d",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 304.486,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48744,
    "c": 0.1805,
    "h": 331.2
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#952A8D
secondary
#61BA68
accent
#DF5448
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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