#952E8D#952E8D

#952E8D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.1% C 0.176 H 331.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#952E8D
RGBrgb(149, 46, 141)
HSLhsl(305, 53%, 38%)
HSVhsv(305, 69%, 58%)
CMYKcmyk(0%, 69.1%, 5.4%, 41.6%)
CIE-LABlab(38.32, 53.95, -30.77)
CIE-LCHlch(38.32, 62.11, 330.30°)
OKLaboklab(49.13% 0.1538 -0.0846)
OKLCHoklch(49.13% 0.176 331.2)
XYZxyz(18.1791, 10.2680, 26.2186)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952E8D #2E9536
analogous
#692E95 #952E8D #952E59
triadic
#952E8D #8D952E #2E8D95
tetradic
#952E8D #95692E #2E9536 #2E5995
square
#952E8D #95692E #2E9536 #2E5995
split-complementary
#952E8D #59952E #2E9569
monochromatic
#371134 #662061 #952E8D #C33DB9 #D26CCA

Accessibility & contrast

On white

6.88
#952E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#952E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952E8D
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952E8D#FFFFFF#000000##FFFFFF
##952E8D1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275190
Deuteranopia (green-blind)
#4C5F8A
Tritanopia (blue-blind)
#9B395A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952e8d;
/* rgb */ color: rgb(149, 46, 141);
/* oklch */ color: oklch(49.1% 0.176 331.2);
Tailwind
colors: {
  custom: {
    50: '#b770ae',
    500: '#952e8d',
    950: '#000000',
  },
}
SCSS
$custom: #952e8d;
$custom-light: #b770ae;
$custom-dark: #000000;
JSON
{
  "hex": "#952e8d",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 304.66,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49126,
    "c": 0.17556,
    "h": 331.2
  },
  "luminance": 0.10267
}

Semantic roles & 50–950 ramp

primary
#952E8D
secondary
#66B96D
accent
#DC574C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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