#952FA9#952FA9

#952FA9 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.198 H 320.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#952FA9
RGBrgb(149, 47, 169)
HSLhsl(290, 56%, 42%)
HSVhsv(290, 72%, 66%)
CMYKcmyk(11.8%, 72.2%, 0%, 33.7%)
CIE-LABlab(40.06, 58.56, -44.92)
CIE-LCHlch(40.06, 73.80, 322.51°)
OKLaboklab(50.9% 0.1528 -0.1257)
OKLCHoklch(50.9% 0.198 320.5)
XYZxyz(20.5715, 11.2882, 38.6237)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FA9 #43A92F
analogous
#582FA9 #952FA9 #A92F80
triadic
#952FA9 #A9952F #2FA995
tetradic
#952FA9 #A9582F #43A92F #2F80A9
square
#952FA9 #A9582F #43A92F #2F80A9
split-complementary
#952FA9 #80A92F #2FA958
monochromatic
#411449 #6B2279 #952FA9 #B749CC #CA79DA

Accessibility & contrast

On white

6.45
#952FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#952FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FA9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FA9#FFFFFF#000000##FFFFFF
##952FA91.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #952fa9;
/* rgb */ color: rgb(149, 47, 169);
/* oklch */ color: oklch(50.9% 0.198 320.5);
Tailwind
colors: {
  custom: {
    50: '#b871c3',
    500: '#952fa9',
    950: '#000000',
  },
}
SCSS
$custom: #952fa9;
$custom-light: #b871c3;
$custom-dark: #000000;
JSON
{
  "hex": "#952fa9",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 290.164,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50896,
    "c": 0.19788,
    "h": 320.5
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

primary
#952FA9
secondary
#7FC272
accent
#E04861
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #952FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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