#952E9B#952E9B

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

Color values

HEX#952E9B
RGBrgb(149, 46, 155)
HSLhsl(297, 54%, 39%)
HSVhsv(297, 70%, 61%)
CMYKcmyk(3.9%, 70.3%, 0%, 39.2%)
CIE-LABlab(39.09, 56.36, -38.07)
CIE-LCHlch(39.09, 68.01, 325.97°)
OKLaboklab(49.93% 0.1543 -0.1057)
OKLCHoklch(49.93% 0.187 325.6)
XYZxyz(19.2874, 10.7114, 32.0556)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952E9B #349B2E
analogous
#5F2E9B #952E9B #9B2E6B
triadic
#952E9B #9B952E #2E9B95
tetradic
#952E9B #9B5F2E #349B2E #2E6B9B
square
#952E9B #9B5F2E #349B2E #2E6B9B
split-complementary
#952E9B #6B9B2E #2E9B5F
monochromatic
#3A123D #68206C #952E9B #BF40C6 #CF6FD4

Accessibility & contrast

On white

6.68
#952E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952E9B
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952E9B#FFFFFF#000000##FFFFFF
##952E9B1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15549E
Deuteranopia (green-blind)
#456098
Tritanopia (blue-blind)
#993F61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952e9b;
/* rgb */ color: rgb(149, 46, 155);
/* oklch */ color: oklch(49.9% 0.187 325.6);
Tailwind
colors: {
  custom: {
    50: '#b770b9',
    500: '#952e9b',
    950: '#000000',
  },
}
SCSS
$custom: #952e9b;
$custom-light: #b770b9;
$custom-dark: #000000;
JSON
{
  "hex": "#952e9b",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 296.697,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49931,
    "c": 0.18705,
    "h": 325.6
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#952E9B
secondary
#6EBC69
accent
#DE4A52
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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