#952A87#952A87

#952A87 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.176 H 333.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#952A87
RGBrgb(149, 42, 135)
HSLhsl(308, 56%, 37%)
HSVhsv(308, 72%, 58%)
CMYKcmyk(0%, 71.8%, 9.4%, 41.6%)
CIE-LABlab(37.47, 54.47, -28.42)
CIE-LCHlch(37.47, 61.44, 332.45°)
OKLaboklab(48.42% 0.1577 -0.0778)
OKLCHoklch(48.42% 0.176 333.7)
XYZxyz(17.5957, 9.7962, 23.8811)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A87 #2A9538
analogous
#6D2A95 #952A87 #952A52
triadic
#952A87 #87952A #2A8795
tetradic
#952A87 #956D2A #2A9538 #2A5295
square
#952A87 #956D2A #2A9538 #2A5295
split-complementary
#952A87 #52952A #2A956D
monochromatic
#360F30 #651D5C #952A87 #C537B2 #D466C5

Accessibility & contrast

On white

7.10
#952A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#952A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952A87
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A87#FFFFFF#000000##FFFFFF
##952A871.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E8A
Deuteranopia (green-blind)
#4D5E84
Tritanopia (blue-blind)
#9C3455
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952a87;
/* rgb */ color: rgb(149, 42, 135);
/* oklch */ color: oklch(48.4% 0.176 333.7);
Tailwind
colors: {
  custom: {
    50: '#b76eaa',
    500: '#952a87',
    950: '#000000',
  },
}
SCSS
$custom: #952a87;
$custom-light: #b76eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#952a87",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 307.85,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48415,
    "c": 0.17587,
    "h": 333.7
  },
  "luminance": 0.09795
}

Semantic roles & 50–950 ramp

primary
#952A87
secondary
#61BA6D
accent
#DF5C48
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952A87

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

Preview Lab → · Contrast checker → · Palette generator →

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