#952E8E#952E8E

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

Color values

HEX#952E8E
RGBrgb(149, 46, 142)
HSLhsl(304, 53%, 38%)
HSVhsv(304, 69%, 58%)
CMYKcmyk(0%, 69.1%, 4.7%, 41.6%)
CIE-LABlab(38.37, 54.11, -31.30)
CIE-LCHlch(38.37, 62.51, 329.95°)
OKLaboklab(49.18% 0.1539 -0.0861)
OKLCHoklch(49.18% 0.176 330.8)
XYZxyz(18.2538, 10.2979, 26.6122)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952E8E #2E9535
analogous
#682E95 #952E8E #952E5A
triadic
#952E8E #8E952E #2E8E95
tetradic
#952E8E #95682E #2E9535 #2E5A95
square
#952E8E #95682E #2E9535 #2E5A95
split-complementary
#952E8E #5A952E #2E9568
monochromatic
#371135 #662061 #952E8E #C33DBA #D26CCB

Accessibility & contrast

On white

6.86
#952E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#952E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952E8E
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952E8E#FFFFFF#000000##FFFFFF
##952E8E1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265191
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#9B3A5A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952e8e;
/* rgb */ color: rgb(149, 46, 142);
/* oklch */ color: oklch(49.2% 0.176 330.8);
Tailwind
colors: {
  custom: {
    50: '#b770af',
    500: '#952e8e',
    950: '#000000',
  },
}
SCSS
$custom: #952e8e;
$custom-light: #b770af;
$custom-dark: #000000;
JSON
{
  "hex": "#952e8e",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 304.078,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49182,
    "c": 0.17636,
    "h": 330.8
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#952E8E
secondary
#66B96C
accent
#DC554C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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