#952A9B#952A9B

#952A9B is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.192 H 325.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#952A9B
RGBrgb(149, 42, 155)
HSLhsl(297, 57%, 39%)
HSVhsv(297, 73%, 61%)
CMYKcmyk(3.9%, 72.9%, 0%, 39.2%)
CIE-LABlab(38.57, 57.83, -38.89)
CIE-LCHlch(38.57, 69.69, 326.08°)
OKLaboklab(49.56% 0.1584 -0.1081)
OKLCHoklch(49.56% 0.192 325.7)
XYZxyz(19.1384, 10.4133, 32.0059)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A9B #309B2A
analogous
#5C2A9B #952A9B #9B2A68
triadic
#952A9B #9B952A #2A9B95
tetradic
#952A9B #9B5C2A #309B2A #2A689B
square
#952A9B #9B5C2A #309B2A #2A689B
split-complementary
#952A9B #689B2A #2A9B5C
monochromatic
#38103B #671D6B #952A9B #C239C9 #D169D6

Accessibility & contrast

On white

6.81
#952A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#952A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952A9B
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A9B#FFFFFF#000000##FFFFFF
##952A9B1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A529E
Deuteranopia (green-blind)
#435F98
Tritanopia (blue-blind)
#993D60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952a9b;
/* rgb */ color: rgb(149, 42, 155);
/* oklch */ color: oklch(49.6% 0.192 325.7);
Tailwind
colors: {
  custom: {
    50: '#b86fb9',
    500: '#952a9b',
    950: '#000000',
  },
}
SCSS
$custom: #952a9b;
$custom-light: #b86fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#952a9b",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 296.814,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49561,
    "c": 0.19174,
    "h": 325.7
  },
  "luminance": 0.10412
}

Semantic roles & 50–950 ramp

primary
#952A9B
secondary
#69BD64
accent
#E1474F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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