#952E9D#952E9D

#952E9D is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.189 H 324.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#952E9D
RGBrgb(149, 46, 157)
HSLhsl(296, 55%, 40%)
HSVhsv(296, 71%, 62%)
CMYKcmyk(5.1%, 70.7%, 0%, 38.4%)
CIE-LABlab(39.21, 56.72, -39.09)
CIE-LCHlch(39.21, 68.89, 325.43°)
OKLaboklab(50.05% 0.1543 -0.1087)
OKLCHoklch(50.05% 0.189 324.8)
XYZxyz(19.4567, 10.7791, 32.9475)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952E9D #369D2E
analogous
#5E2E9D #952E9D #9D2E6D
triadic
#952E9D #9D952E #2E9D95
tetradic
#952E9D #9D5E2E #369D2E #2E6D9D
square
#952E9D #9D5E2E #369D2E #2E6D9D
split-complementary
#952E9D #6D9D2E #2E9D5E
monochromatic
#3B123E #68206E #952E9D #BE41C7 #CE70D5

Accessibility & contrast

On white

6.65
#952E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#952E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952E9D
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952E9D#FFFFFF#000000##FFFFFF
##952E9D1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1154A0
Deuteranopia (green-blind)
#44619A
Tritanopia (blue-blind)
#984062
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952e9d;
/* rgb */ color: rgb(149, 46, 157);
/* oklch */ color: oklch(50.1% 0.189 324.8);
Tailwind
colors: {
  custom: {
    50: '#b770ba',
    500: '#952e9d',
    950: '#000000',
  },
}
SCSS
$custom: #952e9d;
$custom-light: #b770ba;
$custom-dark: #000000;
JSON
{
  "hex": "#952e9d",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 295.676,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50051,
    "c": 0.18874,
    "h": 324.8
  },
  "luminance": 0.10778
}

Semantic roles & 50–950 ramp

primary
#952E9D
secondary
#70BD6A
accent
#DE4A54
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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