#952E9A#952E9A

#952E9A is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.186 H 326.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#952E9A
RGBrgb(149, 46, 154)
HSLhsl(297, 54%, 39%)
HSVhsv(297, 70%, 60%)
CMYKcmyk(3.2%, 70.1%, 0%, 39.6%)
CIE-LABlab(39.03, 56.19, -37.55)
CIE-LCHlch(39.03, 67.58, 326.24°)
OKLaboklab(49.87% 0.1543 -0.1043)
OKLCHoklch(49.87% 0.186 326)
XYZxyz(19.2038, 10.6779, 31.6151)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952E9A #339A2E
analogous
#5F2E9A #952E9A #9A2E69
triadic
#952E9A #9A952E #2E9A95
tetradic
#952E9A #9A5F2E #339A2E #2E699A
square
#952E9A #9A5F2E #339A2E #2E699A
split-complementary
#952E9A #699A2E #2E9A5F
monochromatic
#3A123C #67206B #952E9A #C03FC6 #CF6FD4

Accessibility & contrast

On white

6.70
#952E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#952E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952E9A
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952E9A#FFFFFF#000000##FFFFFF
##952E9A1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #952e9a;
/* rgb */ color: rgb(149, 46, 154);
/* oklch */ color: oklch(49.9% 0.186 326.0);
Tailwind
colors: {
  custom: {
    50: '#b770b8',
    500: '#952e9a',
    950: '#000000',
  },
}
SCSS
$custom: #952e9a;
$custom-light: #b770b8;
$custom-dark: #000000;
JSON
{
  "hex": "#952e9a",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 297.222,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49871,
    "c": 0.18621,
    "h": 326
  },
  "luminance": 0.10677
}

Semantic roles & 50–950 ramp

primary
#952E9A
secondary
#6CBB69
accent
#DD4A51
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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