#952A8B#952A8B

#952A8B is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.179 H 332.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#952A8B
RGBrgb(149, 42, 139)
HSLhsl(306, 56%, 37%)
HSVhsv(306, 72%, 58%)
CMYKcmyk(0%, 71.8%, 6.7%, 41.6%)
CIE-LABlab(37.68, 55.12, -30.55)
CIE-LCHlch(37.68, 63.02, 331.00°)
OKLaboklab(48.63% 0.158 -0.0839)
OKLCHoklch(48.63% 0.179 332)
XYZxyz(17.8826, 9.9110, 25.3923)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A8B #2A9534
analogous
#692A95 #952A8B #952A56
triadic
#952A8B #8B952A #2A8B95
tetradic
#952A8B #95692A #2A9534 #2A5695
square
#952A8B #95692A #2A9534 #2A5695
split-complementary
#952A8B #56952A #2A9569
monochromatic
#360F32 #651D5E #952A8B #C537B8 #D466C9

Accessibility & contrast

On white

7.04
#952A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#952A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952A8B
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A8B#FFFFFF#000000##FFFFFF
##952A8B1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8E
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#9B3557
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952a8b;
/* rgb */ color: rgb(149, 42, 139);
/* oklch */ color: oklch(48.6% 0.179 332.0);
Tailwind
colors: {
  custom: {
    50: '#b76ead',
    500: '#952a8b',
    950: '#000000',
  },
}
SCSS
$custom: #952a8b;
$custom-light: #b76ead;
$custom-dark: #000000;
JSON
{
  "hex": "#952a8b",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 305.607,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48633,
    "c": 0.17894,
    "h": 332
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#952A8B
secondary
#61BA69
accent
#DF5748
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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