#952E8A#952E8A

#952E8A is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.173 H 332.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#952E8A
RGBrgb(149, 46, 138)
HSLhsl(306, 53%, 38%)
HSVhsv(306, 69%, 58%)
CMYKcmyk(0%, 69.1%, 7.4%, 41.6%)
CIE-LABlab(38.16, 53.45, -29.18)
CIE-LCHlch(38.16, 60.90, 331.37°)
OKLaboklab(48.96% 0.1536 -0.08)
OKLCHoklch(48.96% 0.173 332.5)
XYZxyz(17.9589, 10.1800, 25.0589)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952E8A #2E9539
analogous
#6C2E95 #952E8A #952E56
triadic
#952E8A #8A952E #2E8A95
tetradic
#952E8A #956C2E #2E9539 #2E5695
square
#952E8A #956C2E #2E9539 #2E5695
split-complementary
#952E8A #56952E #2E956C
monochromatic
#371133 #66205F #952E8A #C33DB5 #D26CC7

Accessibility & contrast

On white

6.92
#952E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#952E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952E8A
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952E8A#FFFFFF#000000##FFFFFF
##952E8A1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508D
Deuteranopia (green-blind)
#4E5F87
Tritanopia (blue-blind)
#9B3858
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952e8a;
/* rgb */ color: rgb(149, 46, 138);
/* oklch */ color: oklch(49.0% 0.173 332.5);
Tailwind
colors: {
  custom: {
    50: '#b770ac',
    500: '#952e8a',
    950: '#000000',
  },
}
SCSS
$custom: #952e8a;
$custom-light: #b770ac;
$custom-dark: #000000;
JSON
{
  "hex": "#952e8a",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 306.408,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48963,
    "c": 0.17318,
    "h": 332.5
  },
  "luminance": 0.10179
}

Semantic roles & 50–950 ramp

primary
#952E8A
secondary
#66B96F
accent
#DC5B4C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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