#952FA3#952FA3

#952FA3 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.193 H 322.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#952FA3
RGBrgb(149, 47, 163)
HSLhsl(293, 55%, 41%)
HSVhsv(293, 71%, 64%)
CMYKcmyk(8.6%, 71.2%, 0%, 36.1%)
CIE-LABlab(39.69, 57.44, -41.92)
CIE-LCHlch(39.69, 71.10, 323.88°)
OKLaboklab(50.52% 0.1531 -0.117)
OKLCHoklch(50.52% 0.193 322.6)
XYZxyz(20.0211, 11.0681, 35.7250)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FA3 #3DA32F
analogous
#5B2FA3 #952FA3 #A32F77
triadic
#952FA3 #A3952F #2FA395
tetradic
#952FA3 #A35B2F #3DA32F #2F77A3
square
#952FA3 #A35B2F #3DA32F #2F77A3
split-complementary
#952FA3 #77A32F #2FA35B
monochromatic
#3E1444 #6A2173 #952FA3 #BA46CA #CB75D7

Accessibility & contrast

On white

6.54
#952FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#952FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FA3
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FA3#FFFFFF#000000##FFFFFF
##952FA31.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0256A6
Deuteranopia (green-blind)
#4061A0
Tritanopia (blue-blind)
#974366
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952fa3;
/* rgb */ color: rgb(149, 47, 163);
/* oklch */ color: oklch(50.5% 0.193 322.6);
Tailwind
colors: {
  custom: {
    50: '#b871bf',
    500: '#952fa3',
    950: '#000000',
  },
}
SCSS
$custom: #952fa3;
$custom-light: #b871bf;
$custom-dark: #000000;
JSON
{
  "hex": "#952fa3",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 292.759,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50516,
    "c": 0.19267,
    "h": 322.6
  },
  "luminance": 0.11067
}

Semantic roles & 50–950 ramp

primary
#952FA3
secondary
#78BF6F
accent
#DF495B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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