#952EA8#952EA8

#952EA8 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.198 H 320.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#952EA8
RGBrgb(149, 46, 168)
HSLhsl(291, 57%, 42%)
HSVhsv(291, 73%, 66%)
CMYKcmyk(11.3%, 72.6%, 0%, 34.1%)
CIE-LABlab(39.87, 58.74, -44.63)
CIE-LCHlch(39.87, 73.77, 322.77°)
OKLaboklab(50.74% 0.1538 -0.1249)
OKLCHoklch(50.74% 0.198 320.9)
XYZxyz(20.4385, 11.1718, 38.1180)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EA8 #41A82E
analogous
#582EA8 #952EA8 #A82E7E
triadic
#952EA8 #A8952E #2EA895
tetradic
#952EA8 #A8582E #41A82E #2E7EA8
square
#952EA8 #A8582E #41A82E #2E7EA8
split-complementary
#952EA8 #7EA82E #2EA858
monochromatic
#401448 #6A2178 #952EA8 #B847CD #CA77DA

Accessibility & contrast

On white

6.49
#952EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952EA8
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EA8#FFFFFF#000000##FFFFFF
##952EA81.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #952ea8;
/* rgb */ color: rgb(149, 46, 168);
/* oklch */ color: oklch(50.7% 0.198 320.9);
Tailwind
colors: {
  custom: {
    50: '#b871c2',
    500: '#952ea8',
    950: '#000000',
  },
}
SCSS
$custom: #952ea8;
$custom-light: #b871c2;
$custom-dark: #000000;
JSON
{
  "hex": "#952ea8",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 290.656,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50738,
    "c": 0.19816,
    "h": 320.9
  },
  "luminance": 0.11171
}

Semantic roles & 50–950 ramp

primary
#952EA8
secondary
#7DC270
accent
#E0485F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #952EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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