#952DA2#952DA2

#952DA2 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.194 H 323.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#952DA2
RGBrgb(149, 45, 162)
HSLhsl(293, 57%, 41%)
HSVhsv(293, 72%, 64%)
CMYKcmyk(8%, 72.2%, 0%, 36.5%)
CIE-LABlab(39.37, 58.00, -41.83)
CIE-LCHlch(39.37, 71.51, 324.20°)
OKLaboklab(50.27% 0.1552 -0.1167)
OKLCHoklch(50.27% 0.194 323)
XYZxyz(19.8538, 10.8761, 35.2290)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DA2 #3AA22D
analogous
#5A2DA2 #952DA2 #A22D75
triadic
#952DA2 #A2952D #2DA295
tetradic
#952DA2 #A25A2D #3AA22D #2D75A2
square
#952DA2 #A25A2D #3AA22D #2D75A2
split-complementary
#952DA2 #75A22D #2DA25A
monochromatic
#3D1242 #692072 #952DA2 #BB42CA #CC72D8

Accessibility & contrast

On white

6.61
#952DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#952DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952DA2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DA2#FFFFFF#000000##FFFFFF
##952DA21.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#40619F
Tritanopia (blue-blind)
#974265
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952da2;
/* rgb */ color: rgb(149, 45, 162);
/* oklch */ color: oklch(50.3% 0.194 323.0);
Tailwind
colors: {
  custom: {
    50: '#b870be',
    500: '#952da2',
    950: '#000000',
  },
}
SCSS
$custom: #952da2;
$custom-light: #b870be;
$custom-dark: #000000;
JSON
{
  "hex": "#952da2",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 293.333,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50265,
    "c": 0.19416,
    "h": 323
  },
  "luminance": 0.10875
}

Semantic roles & 50–950 ramp

primary
#952DA2
secondary
#75BF6C
accent
#E04859
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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