#952BA6#952BA6

#952BA6 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.200 H 321.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#952BA6
RGBrgb(149, 43, 166)
HSLhsl(292, 59%, 41%)
HSVhsv(292, 74%, 65%)
CMYKcmyk(10.2%, 74.1%, 0%, 34.9%)
CIE-LABlab(39.36, 59.45, -44.24)
CIE-LCHlch(39.36, 74.11, 323.34°)
OKLaboklab(50.34% 0.1569 -0.1237)
OKLCHoklch(50.34% 0.2 321.7)
XYZxyz(20.1405, 10.8716, 37.1066)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952BA6 #3CA62B
analogous
#572BA6 #952BA6 #A62B79
triadic
#952BA6 #A6952B #2BA695
tetradic
#952BA6 #A6572B #3CA62B #2B79A6
square
#952BA6 #A6572B #3CA62B #2B79A6
split-complementary
#952BA6 #79A62B #2BA657
monochromatic
#3E1245 #691E75 #952BA6 #BA41CE #CC71DA

Accessibility & contrast

On white

6.62
#952BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#952BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952BA6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952BA6#FFFFFF#000000##FFFFFF
##952BA61.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#3B61A3
Tritanopia (blue-blind)
#974266
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952ba6;
/* rgb */ color: rgb(149, 43, 166);
/* oklch */ color: oklch(50.3% 0.200 321.7);
Tailwind
colors: {
  custom: {
    50: '#b86fc1',
    500: '#952ba6',
    950: '#000000',
  },
}
SCSS
$custom: #952ba6;
$custom-light: #b86fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#952ba6",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 291.707,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50338,
    "c": 0.19982,
    "h": 321.7
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#952BA6
secondary
#77C16B
accent
#E2465B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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