#952A9E#952A9E

#952A9E is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.194 H 324.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#952A9E
RGBrgb(149, 42, 158)
HSLhsl(295, 58%, 39%)
HSVhsv(295, 73%, 62%)
CMYKcmyk(5.7%, 73.4%, 0%, 38%)
CIE-LABlab(38.75, 58.36, -40.42)
CIE-LCHlch(38.75, 70.99, 325.30°)
OKLaboklab(49.75% 0.1583 -0.1126)
OKLCHoklch(49.75% 0.194 324.6)
XYZxyz(19.3934, 10.5153, 33.3493)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A9E #339E2A
analogous
#5B2A9E #952A9E #9E2A6D
triadic
#952A9E #9E952A #2A9E95
tetradic
#952A9E #9E5B2A #339E2A #2A6D9E
square
#952A9E #9E5B2A #339E2A #2A6D9E
split-complementary
#952A9E #6D9E2A #2A9E5B
monochromatic
#3A103D #671D6E #952A9E #C03ACB #CF6BD8

Accessibility & contrast

On white

6.77
#952A9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#952A9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952A9E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A9E#FFFFFF#000000##FFFFFF
##952A9E1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#41609B
Tritanopia (blue-blind)
#983E62
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952a9e;
/* rgb */ color: rgb(149, 42, 158);
/* oklch */ color: oklch(49.7% 0.194 324.6);
Tailwind
colors: {
  custom: {
    50: '#b86fbb',
    500: '#952a9e',
    950: '#000000',
  },
}
SCSS
$custom: #952a9e;
$custom-light: #b86fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#952a9e",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 295.345,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49745,
    "c": 0.19421,
    "h": 324.6
  },
  "luminance": 0.10514
}

Semantic roles & 50–950 ramp

primary
#952A9E
secondary
#6CBE66
accent
#E14753
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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