#952B8A#952B8A

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

Color values

HEX#952B8A
RGBrgb(149, 43, 138)
HSLhsl(306, 55%, 38%)
HSVhsv(306, 71%, 58%)
CMYKcmyk(0%, 71.1%, 7.4%, 41.6%)
CIE-LABlab(37.76, 54.59, -29.81)
CIE-LCHlch(37.76, 62.20, 331.36°)
OKLaboklab(48.67% 0.1569 -0.0818)
OKLCHoklch(48.67% 0.177 332.5)
XYZxyz(17.8458, 9.9537, 25.0212)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952B8A #2B9536
analogous
#6B2B95 #952B8A #952B55
triadic
#952B8A #8A952B #2B8A95
tetradic
#952B8A #956B2B #2B9536 #2B5595
square
#952B8A #956B2B #2B9536 #2B5595
split-complementary
#952B8A #55952B #2B956B
monochromatic
#361032 #661D5E #952B8A #C439B6 #D367C8

Accessibility & contrast

On white

7.02
#952B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952B8A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952B8A#FFFFFF#000000##FFFFFF
##952B8A1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8D
Deuteranopia (green-blind)
#4D5E87
Tritanopia (blue-blind)
#9B3657
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952b8a;
/* rgb */ color: rgb(149, 43, 138);
/* oklch */ color: oklch(48.7% 0.177 332.5);
Tailwind
colors: {
  custom: {
    50: '#b76eac',
    500: '#952b8a',
    950: '#000000',
  },
}
SCSS
$custom: #952b8a;
$custom-light: #b76eac;
$custom-dark: #000000;
JSON
{
  "hex": "#952b8a",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 306.226,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48671,
    "c": 0.17696,
    "h": 332.5
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#952B8A
secondary
#62BA6B
accent
#DF5949
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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