#952E8B#952E8B

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

Color values

HEX#952E8B
RGBrgb(149, 46, 139)
HSLhsl(306, 53%, 38%)
HSVhsv(306, 69%, 58%)
CMYKcmyk(0%, 69.1%, 6.7%, 41.6%)
CIE-LABlab(38.21, 53.61, -29.71)
CIE-LCHlch(38.21, 61.30, 331.01°)
OKLaboklab(49.02% 0.1537 -0.0816)
OKLCHoklch(49.02% 0.174 332)
XYZxyz(18.0316, 10.2090, 25.4419)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952E8B #2E9538
analogous
#6B2E95 #952E8B #952E57
triadic
#952E8B #8B952E #2E8B95
tetradic
#952E8B #956B2E #2E9538 #2E5795
square
#952E8B #956B2E #2E9538 #2E5795
split-complementary
#952E8B #57952E #2E956B
monochromatic
#371134 #66205F #952E8B #C33DB6 #D26CC8

Accessibility & contrast

On white

6.90
#952E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952E8B
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952E8B#FFFFFF#000000##FFFFFF
##952E8B1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28518E
Deuteranopia (green-blind)
#4D5F88
Tritanopia (blue-blind)
#9B3859
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952e8b;
/* rgb */ color: rgb(149, 46, 139);
/* oklch */ color: oklch(49.0% 0.174 332.0);
Tailwind
colors: {
  custom: {
    50: '#b770ad',
    500: '#952e8b',
    950: '#000000',
  },
}
SCSS
$custom: #952e8b;
$custom-light: #b770ad;
$custom-dark: #000000;
JSON
{
  "hex": "#952e8b",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 305.825,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49017,
    "c": 0.17397,
    "h": 332
  },
  "luminance": 0.10208
}

Semantic roles & 50–950 ramp

primary
#952E8B
secondary
#66B96E
accent
#DC5A4C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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