#952EA7#952EA7

#952EA7 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.197 H 321.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#952EA7
RGBrgb(149, 46, 167)
HSLhsl(291, 57%, 42%)
HSVhsv(291, 72%, 65%)
CMYKcmyk(10.8%, 72.5%, 0%, 34.5%)
CIE-LABlab(39.81, 58.55, -44.13)
CIE-LCHlch(39.81, 73.32, 322.99°)
OKLaboklab(50.67% 0.1539 -0.1234)
OKLCHoklch(50.67% 0.197 321.3)
XYZxyz(20.3457, 11.1347, 37.6293)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EA7 #40A72E
analogous
#582EA7 #952EA7 #A72E7D
triadic
#952EA7 #A7952E #2EA795
tetradic
#952EA7 #A7582E #40A72E #2E7DA7
square
#952EA7 #A7582E #40A72E #2E7DA7
split-complementary
#952EA7 #7DA72E #2EA758
monochromatic
#3F1447 #6A2177 #952EA7 #B846CC #CB76D9

Accessibility & contrast

On white

6.51
#952EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#952EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952EA7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EA7#FFFFFF#000000##FFFFFF
##952EA71.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#3C62A4
Tritanopia (blue-blind)
#964568
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #952ea7;
/* rgb */ color: rgb(149, 46, 167);
/* oklch */ color: oklch(50.7% 0.197 321.3);
Tailwind
colors: {
  custom: {
    50: '#b871c2',
    500: '#952ea7',
    950: '#000000',
  },
}
SCSS
$custom: #952ea7;
$custom-light: #b871c2;
$custom-dark: #000000;
JSON
{
  "hex": "#952ea7",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 291.074,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50674,
    "c": 0.19729,
    "h": 321.3
  },
  "luminance": 0.11134
}

Semantic roles & 50–950 ramp

primary
#952EA7
secondary
#7CC170
accent
#E0485E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #952EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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