#952E99#952E99

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

Color values

HEX#952E99
RGBrgb(149, 46, 153)
HSLhsl(298, 54%, 39%)
HSVhsv(298, 70%, 60%)
CMYKcmyk(2.6%, 69.9%, 0%, 40%)
CIE-LABlab(38.98, 56.01, -37.04)
CIE-LCHlch(38.98, 67.15, 326.52°)
OKLaboklab(49.81% 0.1543 -0.1028)
OKLCHoklch(49.81% 0.185 326.3)
XYZxyz(19.1208, 10.6447, 31.1783)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952E99 #32992E
analogous
#602E99 #952E99 #992E68
triadic
#952E99 #99952E #2E9995
tetradic
#952E99 #99602E #32992E #2E6899
square
#952E99 #99602E #32992E #2E6899
split-complementary
#952E99 #68992E #2E9960
monochromatic
#39123B #67206A #952E99 #C03FC5 #D06ED3

Accessibility & contrast

On white

6.71
#952E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#952E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952E99
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952E99#FFFFFF#000000##FFFFFF
##952E991.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539C
Deuteranopia (green-blind)
#466096
Tritanopia (blue-blind)
#993E60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952e99;
/* rgb */ color: rgb(149, 46, 153);
/* oklch */ color: oklch(49.8% 0.185 326.3);
Tailwind
colors: {
  custom: {
    50: '#b770b7',
    500: '#952e99',
    950: '#000000',
  },
}
SCSS
$custom: #952e99;
$custom-light: #b770b7;
$custom-dark: #000000;
JSON
{
  "hex": "#952e99",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 297.757,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49812,
    "c": 0.18537,
    "h": 326.3
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

primary
#952E99
secondary
#6BBB68
accent
#DD4B50
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952E99

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

Preview Lab → · Contrast checker → · Palette generator →

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