#952A8F#952A8F

#952A8F is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.182 H 330.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#952A8F
RGBrgb(149, 42, 143)
HSLhsl(303, 56%, 37%)
HSVhsv(303, 72%, 58%)
CMYKcmyk(0%, 71.8%, 4%, 41.6%)
CIE-LABlab(37.90, 55.77, -32.66)
CIE-LCHlch(37.90, 64.64, 329.65°)
OKLaboklab(48.86% 0.1582 -0.09)
OKLCHoklch(48.86% 0.182 330.4)
XYZxyz(18.1802, 10.0301, 26.9597)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A8F #2A9530
analogous
#652A95 #952A8F #952A5A
triadic
#952A8F #8F952A #2A8F95
tetradic
#952A8F #95652A #2A9530 #2A5A95
square
#952A8F #95652A #2A9530 #2A5A95
split-complementary
#952A8F #5A952A #2A9565
monochromatic
#360F33 #651D61 #952A8F #C537BD #D466CE

Accessibility & contrast

On white

6.99
#952A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#952A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952A8F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A8F#FFFFFF#000000##FFFFFF
##952A8F1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5092
Deuteranopia (green-blind)
#4A5E8C
Tritanopia (blue-blind)
#9B3759
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952a8f;
/* rgb */ color: rgb(149, 42, 143);
/* oklch */ color: oklch(48.9% 0.182 330.4);
Tailwind
colors: {
  custom: {
    50: '#b76eb0',
    500: '#952a8f',
    950: '#000000',
  },
}
SCSS
$custom: #952a8f;
$custom-light: #b76eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#952a8f",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 303.364,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48856,
    "c": 0.18206,
    "h": 330.4
  },
  "luminance": 0.10029
}

Semantic roles & 50–950 ramp

primary
#952A8F
secondary
#61BA66
accent
#DF5148
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #952A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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