#952D9E#952D9E

#952D9E is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.191 H 324.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#952D9E
RGBrgb(149, 45, 158)
HSLhsl(295, 56%, 40%)
HSVhsv(295, 72%, 62%)
CMYKcmyk(5.7%, 71.5%, 0%, 38%)
CIE-LABlab(39.13, 57.28, -39.81)
CIE-LCHlch(39.13, 69.75, 325.20°)
OKLaboklab(50.02% 0.1553 -0.1108)
OKLCHoklch(50.02% 0.191 324.5)
XYZxyz(19.5039, 10.7362, 33.3861)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D9E #369E2D
analogous
#5C2D9E #952D9E #9E2D6F
triadic
#952D9E #9E952D #2D9E95
tetradic
#952D9E #9E5C2D #369E2D #2D6F9E
square
#952D9E #9E5C2D #369E2D #2D6F9E
split-complementary
#952D9E #6F9E2D #2D9E5C
monochromatic
#3B123F #681F6E #952D9E #BE40C9 #CE6FD6

Accessibility & contrast

On white

6.67
#952D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952D9E
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D9E#FFFFFF#000000##FFFFFF
##952D9E1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B54A1
Deuteranopia (green-blind)
#42609B
Tritanopia (blue-blind)
#984063
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952d9e;
/* rgb */ color: rgb(149, 45, 158);
/* oklch */ color: oklch(50.0% 0.191 324.5);
Tailwind
colors: {
  custom: {
    50: '#b870bb',
    500: '#952d9e',
    950: '#000000',
  },
}
SCSS
$custom: #952d9e;
$custom-light: #b870bb;
$custom-dark: #000000;
JSON
{
  "hex": "#952d9e",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 295.221,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50018,
    "c": 0.19078,
    "h": 324.5
  },
  "luminance": 0.10735
}

Semantic roles & 50–950 ramp

primary
#952D9E
secondary
#70BD69
accent
#DF4955
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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