#952EA4#952EA4

#952EA4 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.195 H 322.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#952EA4
RGBrgb(149, 46, 164)
HSLhsl(292, 56%, 41%)
HSVhsv(292, 72%, 64%)
CMYKcmyk(9.1%, 72%, 0%, 35.7%)
CIE-LABlab(39.62, 58.00, -42.63)
CIE-LCHlch(39.62, 71.98, 323.68°)
OKLaboklab(50.48% 0.1541 -0.1191)
OKLCHoklch(50.48% 0.195 322.3)
XYZxyz(20.0716, 11.0250, 36.1856)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EA4 #3DA42E
analogous
#5A2EA4 #952EA4 #A42E78
triadic
#952EA4 #A4952E #2EA495
tetradic
#952EA4 #A45A2E #3DA42E #2E78A4
square
#952EA4 #A45A2E #3DA42E #2E78A4
split-complementary
#952EA4 #78A42E #2EA45A
monochromatic
#3E1344 #6A2174 #952EA4 #BA45CB #CB74D8

Accessibility & contrast

On white

6.55
#952EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#952EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952EA4
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EA4#FFFFFF#000000##FFFFFF
##952EA41.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#3F61A1
Tritanopia (blue-blind)
#974366
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952ea4;
/* rgb */ color: rgb(149, 46, 164);
/* oklch */ color: oklch(50.5% 0.195 322.3);
Tailwind
colors: {
  custom: {
    50: '#b871bf',
    500: '#952ea4',
    950: '#000000',
  },
}
SCSS
$custom: #952ea4;
$custom-light: #b871bf;
$custom-dark: #000000;
JSON
{
  "hex": "#952ea4",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 292.373,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50484,
    "c": 0.19471,
    "h": 322.3
  },
  "luminance": 0.11024
}

Semantic roles & 50–950 ramp

primary
#952EA4
secondary
#78C06E
accent
#DF485C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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