#952D9A#952D9A

#952D9A is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.187 H 326.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#952D9A
RGBrgb(149, 45, 154)
HSLhsl(297, 55%, 39%)
HSVhsv(297, 71%, 60%)
CMYKcmyk(3.2%, 70.8%, 0%, 39.6%)
CIE-LABlab(38.90, 56.56, -37.76)
CIE-LCHlch(38.90, 68.01, 326.27°)
OKLaboklab(49.78% 0.1553 -0.1049)
OKLCHoklch(49.78% 0.187 326)
XYZxyz(19.1652, 10.6007, 31.6023)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D9A #329A2D
analogous
#5F2D9A #952D9A #9A2D69
triadic
#952D9A #9A952D #2D9A95
tetradic
#952D9A #9A5F2D #329A2D #2D699A
square
#952D9A #9A5F2D #329A2D #2D699A
split-complementary
#952D9A #699A2D #2D9A5F
monochromatic
#39113B #671F6B #952D9A #C03EC7 #D06DD4

Accessibility & contrast

On white

6.73
#952D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#952D9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952D9A
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D9A#FFFFFF#000000##FFFFFF
##952D9A1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14539D
Deuteranopia (green-blind)
#456097
Tritanopia (blue-blind)
#993E60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952d9a;
/* rgb */ color: rgb(149, 45, 154);
/* oklch */ color: oklch(49.8% 0.187 326.0);
Tailwind
colors: {
  custom: {
    50: '#b770b8',
    500: '#952d9a',
    950: '#000000',
  },
}
SCSS
$custom: #952d9a;
$custom-light: #b770b8;
$custom-dark: #000000;
JSON
{
  "hex": "#952d9a",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 297.248,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49776,
    "c": 0.18742,
    "h": 326
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#952D9A
secondary
#6BBB67
accent
#DE4A50
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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