#952EB5#952EB5

#952EB5 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.210 H 316.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#952EB5
RGBrgb(149, 46, 181)
HSLhsl(286, 59%, 45%)
HSVhsv(286, 75%, 71%)
CMYKcmyk(17.7%, 74.6%, 0%, 29%)
CIE-LABlab(40.70, 61.23, -51.01)
CIE-LCHlch(40.70, 79.69, 320.20°)
OKLaboklab(51.6% 0.1526 -0.1436)
OKLCHoklch(51.6% 0.21 316.7)
XYZxyz(21.7107, 11.6807, 44.8181)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EB5 #4EB52E
analogous
#522EB5 #952EB5 #B52E91
triadic
#952EB5 #B5952E #2EB595
tetradic
#952EB5 #B5522E #4EB52E #2E91B5
square
#952EB5 #B5522E #4EB52E #2E91B5
split-complementary
#952EB5 #91B52E #2EB552
monochromatic
#451553 #6D2284 #952EB5 #B34ED2 #C87FDE

Accessibility & contrast

On white

6.29
#952EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#952EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952EB5
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EB5#FFFFFF#000000##FFFFFF
##952EB51.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#2F63B2
Tritanopia (blue-blind)
#934B70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #952eb5;
/* rgb */ color: rgb(149, 46, 181);
/* oklch */ color: oklch(51.6% 0.210 316.7);
Tailwind
colors: {
  custom: {
    50: '#b871cc',
    500: '#952eb5',
    950: '#000000',
  },
}
SCSS
$custom: #952eb5;
$custom-light: #b871cc;
$custom-dark: #000000;
JSON
{
  "hex": "#952eb5",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 285.778,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51599,
    "c": 0.20954,
    "h": 316.7
  },
  "luminance": 0.1168
}

Semantic roles & 50–950 ramp

primary
#952EB5
secondary
#8AC778
accent
#E3456A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #952EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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