#952A8A#952A8A

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

Color values

HEX#952A8A
RGBrgb(149, 42, 138)
HSLhsl(306, 56%, 37%)
HSVhsv(306, 72%, 58%)
CMYKcmyk(0%, 71.8%, 7.4%, 41.6%)
CIE-LABlab(37.63, 54.96, -30.02)
CIE-LCHlch(37.63, 62.62, 331.36°)
OKLaboklab(48.58% 0.158 -0.0824)
OKLCHoklch(48.58% 0.178 332.4)
XYZxyz(17.8099, 9.8819, 25.0092)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A8A #2A9535
analogous
#6A2A95 #952A8A #952A55
triadic
#952A8A #8A952A #2A8A95
tetradic
#952A8A #956A2A #2A9535 #2A5595
square
#952A8A #956A2A #2A9535 #2A5595
split-complementary
#952A8A #55952A #2A956A
monochromatic
#360F32 #651D5E #952A8A #C537B6 #D466C8

Accessibility & contrast

On white

7.06
#952A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952A8A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A8A#FFFFFF#000000##FFFFFF
##952A8A1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#4C5E87
Tritanopia (blue-blind)
#9C3557
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952a8a;
/* rgb */ color: rgb(149, 42, 138);
/* oklch */ color: oklch(48.6% 0.178 332.4);
Tailwind
colors: {
  custom: {
    50: '#b76eac',
    500: '#952a8a',
    950: '#000000',
  },
}
SCSS
$custom: #952a8a;
$custom-light: #b76eac;
$custom-dark: #000000;
JSON
{
  "hex": "#952a8a",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 306.168,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48578,
    "c": 0.17817,
    "h": 332.4
  },
  "luminance": 0.0988
}

Semantic roles & 50–950 ramp

primary
#952A8A
secondary
#61BA6A
accent
#DF5848
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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