#952FA7#952FA7

#952FA7 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.196 H 321.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#952FA7
RGBrgb(149, 47, 167)
HSLhsl(291, 56%, 42%)
HSVhsv(291, 72%, 65%)
CMYKcmyk(10.8%, 71.9%, 0%, 34.5%)
CIE-LABlab(39.94, 58.18, -43.92)
CIE-LCHlch(39.94, 72.90, 322.95°)
OKLaboklab(50.77% 0.1529 -0.1228)
OKLCHoklch(50.77% 0.196 321.2)
XYZxyz(20.3852, 11.2137, 37.6424)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FA7 #41A72F
analogous
#592FA7 #952FA7 #A72F7D
triadic
#952FA7 #A7952F #2FA795
tetradic
#952FA7 #A7592F #41A72F #2F7DA7
square
#952FA7 #A7592F #41A72F #2F7DA7
split-complementary
#952FA7 #7DA72F #2FA759
monochromatic
#401447 #6A2277 #952FA7 #B848CB #CA78D9

Accessibility & contrast

On white

6.48
#952FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952FA7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FA7#FFFFFF#000000##FFFFFF
##952FA71.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#3D62A4
Tritanopia (blue-blind)
#964568
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #952fa7;
/* rgb */ color: rgb(149, 47, 167);
/* oklch */ color: oklch(50.8% 0.196 321.2);
Tailwind
colors: {
  custom: {
    50: '#b871c2',
    500: '#952fa7',
    950: '#000000',
  },
}
SCSS
$custom: #952fa7;
$custom-light: #b871c2;
$custom-dark: #000000;
JSON
{
  "hex": "#952fa7",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 291,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50768,
    "c": 0.19613,
    "h": 321.2
  },
  "luminance": 0.11213
}

Semantic roles & 50–950 ramp

primary
#952FA7
secondary
#7DC171
accent
#DF485F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #952FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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