#952FA6#952FA6

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

Color values

HEX#952FA6
RGBrgb(149, 47, 166)
HSLhsl(291, 56%, 42%)
HSVhsv(291, 72%, 65%)
CMYKcmyk(10.2%, 71.7%, 0%, 34.9%)
CIE-LABlab(39.88, 57.99, -43.42)
CIE-LCHlch(39.88, 72.45, 323.17°)
OKLaboklab(50.7% 0.153 -0.1214)
OKLCHoklch(50.7% 0.195 321.6)
XYZxyz(20.2931, 11.1769, 37.1575)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FA6 #40A62F
analogous
#5A2FA6 #952FA6 #A62F7C
triadic
#952FA6 #A6952F #2FA695
tetradic
#952FA6 #A65A2F #40A62F #2F7CA6
square
#952FA6 #A65A2F #40A62F #2F7CA6
split-complementary
#952FA6 #7CA62F #2FA65A
monochromatic
#3F1447 #6A2176 #952FA6 #B847CB #CB77D8

Accessibility & contrast

On white

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

On black

3.24
#952FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##952FA6#FFFFFF#000000##FFFFFF
##952FA61.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#3E62A3
Tritanopia (blue-blind)
#964567
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #952fa6;
/* rgb */ color: rgb(149, 47, 166);
/* oklch */ color: oklch(50.7% 0.195 321.6);
Tailwind
colors: {
  custom: {
    50: '#b871c1',
    500: '#952fa6',
    950: '#000000',
  },
}
SCSS
$custom: #952fa6;
$custom-light: #b871c1;
$custom-dark: #000000;
JSON
{
  "hex": "#952fa6",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 291.429,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50704,
    "c": 0.19526,
    "h": 321.6
  },
  "luminance": 0.11176
}

Semantic roles & 50–950 ramp

primary
#952FA6
secondary
#7CC170
accent
#DF495E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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