#952FA5#952FA5

#952FA5 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.194 H 321.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#952FA5
RGBrgb(149, 47, 165)
HSLhsl(292, 56%, 42%)
HSVhsv(292, 72%, 65%)
CMYKcmyk(9.7%, 71.5%, 0%, 35.3%)
CIE-LABlab(39.82, 57.81, -42.92)
CIE-LCHlch(39.82, 72.00, 323.41°)
OKLaboklab(50.64% 0.153 -0.1199)
OKLCHoklch(50.64% 0.194 321.9)
XYZxyz(20.2017, 11.1403, 36.6762)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FA5 #3FA52F
analogous
#5A2FA5 #952FA5 #A52F7A
triadic
#952FA5 #A5952F #2FA595
tetradic
#952FA5 #A55A2F #3FA52F #2F7AA5
square
#952FA5 #A55A2F #3FA52F #2F7AA5
split-complementary
#952FA5 #7AA52F #2FA55A
monochromatic
#3F1446 #6A2175 #952FA5 #B947CB #CB76D8

Accessibility & contrast

On white

6.51
#952FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#952FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FA5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FA5#FFFFFF#000000##FFFFFF
##952FA51.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#3F62A2
Tritanopia (blue-blind)
#974467
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #952fa5;
/* rgb */ color: rgb(149, 47, 165);
/* oklch */ color: oklch(50.6% 0.194 321.9);
Tailwind
colors: {
  custom: {
    50: '#b871c0',
    500: '#952fa5',
    950: '#000000',
  },
}
SCSS
$custom: #952fa5;
$custom-light: #b871c0;
$custom-dark: #000000;
JSON
{
  "hex": "#952fa5",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 291.864,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50641,
    "c": 0.1944,
    "h": 321.9
  },
  "luminance": 0.11139
}

Semantic roles & 50–950 ramp

primary
#952FA5
secondary
#7BC070
accent
#DF495D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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