#952F9D#952F9D

#952F9D is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.1% C 0.188 H 324.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#952F9D
RGBrgb(149, 47, 157)
HSLhsl(296, 54%, 40%)
HSVhsv(296, 70%, 62%)
CMYKcmyk(5.1%, 70.1%, 0%, 38.4%)
CIE-LABlab(39.34, 56.34, -38.88)
CIE-LCHlch(39.34, 68.45, 325.39°)
OKLaboklab(50.15% 0.1532 -0.1081)
OKLCHoklch(50.15% 0.188 324.8)
XYZxyz(19.4963, 10.8581, 32.9607)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F9D #379D2F
analogous
#5E2F9D #952F9D #9D2F6E
triadic
#952F9D #9D952F #2F9D95
tetradic
#952F9D #9D5E2F #379D2F #2F6E9D
square
#952F9D #9D5E2F #379D2F #2F6E9D
split-complementary
#952F9D #6E9D2F #2F9D5E
monochromatic
#3C133F #68216E #952F9D #BD43C7 #CD72D5

Accessibility & contrast

On white

6.62
#952F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#952F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F9D
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F9D#FFFFFF#000000##FFFFFF
##952F9D1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1355A0
Deuteranopia (green-blind)
#44619A
Tritanopia (blue-blind)
#984163
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952f9d;
/* rgb */ color: rgb(149, 47, 157);
/* oklch */ color: oklch(50.1% 0.188 324.8);
Tailwind
colors: {
  custom: {
    50: '#b771ba',
    500: '#952f9d',
    950: '#000000',
  },
}
SCSS
$custom: #952f9d;
$custom-light: #b771ba;
$custom-dark: #000000;
JSON
{
  "hex": "#952f9d",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 295.636,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.50148,
    "c": 0.18752,
    "h": 324.8
  },
  "luminance": 0.10857
}

Semantic roles & 50–950 ramp

primary
#952F9D
secondary
#71BC6B
accent
#DD4B55
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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