#952F9B#952F9B

#952F9B is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.0% C 0.186 H 325.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#952F9B
RGBrgb(149, 47, 155)
HSLhsl(297, 53%, 40%)
HSVhsv(297, 70%, 61%)
CMYKcmyk(3.9%, 69.7%, 0%, 39.2%)
CIE-LABlab(39.23, 55.98, -37.85)
CIE-LCHlch(39.23, 67.58, 325.94°)
OKLaboklab(50.03% 0.1532 -0.1051)
OKLCHoklch(50.03% 0.186 325.5)
XYZxyz(19.3269, 10.7904, 32.0688)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F9B #359B2F
analogous
#5F2F9B #952F9B #9B2F6B
triadic
#952F9B #9B952F #2F9B95
tetradic
#952F9B #9B5F2F #359B2F #2F6B9B
square
#952F9B #9B5F2F #359B2F #2F6B9B
split-complementary
#952F9B #6B9B2F #2F9B5F
monochromatic
#3B133D #68216C #952F9B #BE42C6 #CE71D4

Accessibility & contrast

On white

6.65
#952F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#952F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F9B
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F9B#FFFFFF#000000##FFFFFF
##952F9B1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17549E
Deuteranopia (green-blind)
#456198
Tritanopia (blue-blind)
#994061
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952f9b;
/* rgb */ color: rgb(149, 47, 155);
/* oklch */ color: oklch(50.0% 0.186 325.5);
Tailwind
colors: {
  custom: {
    50: '#b771b9',
    500: '#952f9b',
    950: '#000000',
  },
}
SCSS
$custom: #952f9b;
$custom-light: #b771b9;
$custom-dark: #000000;
JSON
{
  "hex": "#952f9b",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 296.667,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50028,
    "c": 0.18583,
    "h": 325.5
  },
  "luminance": 0.10789
}

Semantic roles & 50–950 ramp

primary
#952F9B
secondary
#6FBB6A
accent
#DD4B53
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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