#952D9F#952D9F

#952D9F is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.192 H 324.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#952D9F
RGBrgb(149, 45, 159)
HSLhsl(295, 56%, 40%)
HSVhsv(295, 72%, 62%)
CMYKcmyk(6.3%, 71.7%, 0%, 37.6%)
CIE-LABlab(39.19, 57.46, -40.32)
CIE-LCHlch(39.19, 70.19, 324.94°)
OKLaboklab(50.08% 0.1553 -0.1123)
OKLCHoklch(50.08% 0.192 324.1)
XYZxyz(19.5903, 10.7707, 33.8413)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D9F #379F2D
analogous
#5C2D9F #952D9F #9F2D70
triadic
#952D9F #9F952D #2D9F95
tetradic
#952D9F #9F5C2D #379F2D #2D709F
square
#952D9F #9F5C2D #379F2D #2D709F
split-complementary
#952D9F #709F2D #2D9F5C
monochromatic
#3C1240 #68206F #952D9F #BD40C9 #CE70D6

Accessibility & contrast

On white

6.66
#952D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#952D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952D9F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D9F#FFFFFF#000000##FFFFFF
##952D9F1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0854A2
Deuteranopia (green-blind)
#42619C
Tritanopia (blue-blind)
#984063
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952d9f;
/* rgb */ color: rgb(149, 45, 159);
/* oklch */ color: oklch(50.1% 0.192 324.1);
Tailwind
colors: {
  custom: {
    50: '#b870bc',
    500: '#952d9f',
    950: '#000000',
  },
}
SCSS
$custom: #952d9f;
$custom-light: #b870bc;
$custom-dark: #000000;
JSON
{
  "hex": "#952d9f",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 294.737,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.50079,
    "c": 0.19162,
    "h": 324.1
  },
  "luminance": 0.1077
}

Semantic roles & 50–950 ramp

primary
#952D9F
secondary
#71BE6A
accent
#DF4956
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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