#952DA1#952DA1

#952DA1 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.193 H 323.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#952DA1
RGBrgb(149, 45, 161)
HSLhsl(294, 56%, 40%)
HSVhsv(294, 72%, 63%)
CMYKcmyk(7.5%, 72%, 0%, 36.9%)
CIE-LABlab(39.31, 57.82, -41.33)
CIE-LCHlch(39.31, 71.07, 324.44°)
OKLaboklab(50.2% 0.1552 -0.1152)
OKLCHoklch(50.2% 0.193 323.4)
XYZxyz(19.7652, 10.8407, 34.7627)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DA1 #39A12D
analogous
#5B2DA1 #952DA1 #A12D73
triadic
#952DA1 #A1952D #2DA195
tetradic
#952DA1 #A15B2D #39A12D #2D73A1
square
#952DA1 #A15B2D #39A12D #2D73A1
split-complementary
#952DA1 #73A12D #2DA15B
monochromatic
#3C1241 #692071 #952DA1 #BC41CA #CD71D7

Accessibility & contrast

On white

6.63
#952DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952DA1
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DA1#FFFFFF#000000##FFFFFF
##952DA11.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0155A4
Deuteranopia (green-blind)
#40619E
Tritanopia (blue-blind)
#974164
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952da1;
/* rgb */ color: rgb(149, 45, 161);
/* oklch */ color: oklch(50.2% 0.193 323.4);
Tailwind
colors: {
  custom: {
    50: '#b870bd',
    500: '#952da1',
    950: '#000000',
  },
}
SCSS
$custom: #952da1;
$custom-light: #b870bd;
$custom-dark: #000000;
JSON
{
  "hex": "#952da1",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 293.793,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.19331,
    "h": 323.4
  },
  "luminance": 0.1084
}

Semantic roles & 50–950 ramp

primary
#952DA1
secondary
#74BF6B
accent
#E04858
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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