#952FA8#952FA8

#952FA8 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.197 H 320.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#952FA8
RGBrgb(149, 47, 168)
HSLhsl(291, 56%, 42%)
HSVhsv(291, 72%, 66%)
CMYKcmyk(11.3%, 72%, 0%, 34.1%)
CIE-LABlab(40.00, 58.37, -44.42)
CIE-LCHlch(40.00, 73.35, 322.73°)
OKLaboklab(50.83% 0.1528 -0.1243)
OKLCHoklch(50.83% 0.197 320.9)
XYZxyz(20.4780, 11.2508, 38.1312)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FA8 #42A82F
analogous
#592FA8 #952FA8 #A82F7E
triadic
#952FA8 #A8952F #2FA895
tetradic
#952FA8 #A8592F #42A82F #2F7EA8
square
#952FA8 #A8592F #42A82F #2F7EA8
split-complementary
#952FA8 #7EA82F #2FA859
monochromatic
#401448 #6B2278 #952FA8 #B748CC #CA78D9

Accessibility & contrast

On white

6.46
#952FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#952FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FA8
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FA8#FFFFFF#000000##FFFFFF
##952FA81.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #952fa8;
/* rgb */ color: rgb(149, 47, 168);
/* oklch */ color: oklch(50.8% 0.197 320.9);
Tailwind
colors: {
  custom: {
    50: '#b871c2',
    500: '#952fa8',
    950: '#000000',
  },
}
SCSS
$custom: #952fa8;
$custom-light: #b871c2;
$custom-dark: #000000;
JSON
{
  "hex": "#952fa8",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 290.579,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50832,
    "c": 0.197,
    "h": 320.9
  },
  "luminance": 0.1125
}

Semantic roles & 50–950 ramp

primary
#952FA8
secondary
#7EC171
accent
#E04860
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #952FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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