#952FA4#952FA4

#952FA4 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.194 H 322.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#952FA4
RGBrgb(149, 47, 164)
HSLhsl(292, 55%, 41%)
HSVhsv(292, 71%, 64%)
CMYKcmyk(9.1%, 71.3%, 0%, 35.7%)
CIE-LABlab(39.76, 57.62, -42.42)
CIE-LCHlch(39.76, 71.55, 323.64°)
OKLaboklab(50.58% 0.1531 -0.1184)
OKLCHoklch(50.58% 0.194 322.3)
XYZxyz(20.1111, 11.1041, 36.1988)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FA4 #3EA42F
analogous
#5B2FA4 #952FA4 #A42F79
triadic
#952FA4 #A4952F #2FA495
tetradic
#952FA4 #A45B2F #3EA42F #2F79A4
square
#952FA4 #A45B2F #3EA42F #2F79A4
split-complementary
#952FA4 #79A42F #2FA45B
monochromatic
#3F1445 #6A2174 #952FA4 #B946CA #CB76D8

Accessibility & contrast

On white

6.52
#952FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#952FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FA4
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FA4#FFFFFF#000000##FFFFFF
##952FA41.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#3F62A1
Tritanopia (blue-blind)
#974466
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #952fa4;
/* rgb */ color: rgb(149, 47, 164);
/* oklch */ color: oklch(50.6% 0.194 322.3);
Tailwind
colors: {
  custom: {
    50: '#b871bf',
    500: '#952fa4',
    950: '#000000',
  },
}
SCSS
$custom: #952fa4;
$custom-light: #b871bf;
$custom-dark: #000000;
JSON
{
  "hex": "#952fa4",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 292.308,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50578,
    "c": 0.19353,
    "h": 322.3
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#952FA4
secondary
#79C06F
accent
#DF495C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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