#952B9B#952B9B

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

Color values

HEX#952B9B
RGBrgb(149, 43, 155)
HSLhsl(297, 57%, 39%)
HSVhsv(297, 72%, 61%)
CMYKcmyk(3.9%, 72.3%, 0%, 39.2%)
CIE-LABlab(38.70, 57.47, -38.69)
CIE-LCHlch(38.70, 69.28, 326.05°)
OKLaboklab(49.65% 0.1574 -0.1075)
OKLCHoklch(49.65% 0.191 325.7)
XYZxyz(19.1743, 10.4851, 32.0179)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952B9B #319B2B
analogous
#5D2B9B #952B9B #9B2B69
triadic
#952B9B #9B952B #2B9B95
tetradic
#952B9B #9B5D2B #319B2B #2B699B
square
#952B9B #9B5D2B #319B2B #2B699B
split-complementary
#952B9B #699B2B #2B9B5D
monochromatic
#39103B #671E6B #952B9B #C13BC9 #D06BD6

Accessibility & contrast

On white

6.78
#952B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952B9B
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952B9B#FFFFFF#000000##FFFFFF
##952B9B1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D539E
Deuteranopia (green-blind)
#436098
Tritanopia (blue-blind)
#993D60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952b9b;
/* rgb */ color: rgb(149, 43, 155);
/* oklch */ color: oklch(49.7% 0.191 325.7);
Tailwind
colors: {
  custom: {
    50: '#b86fb9',
    500: '#952b9b',
    950: '#000000',
  },
}
SCSS
$custom: #952b9b;
$custom-light: #b86fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#952b9b",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 296.786,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49651,
    "c": 0.1906,
    "h": 325.7
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#952B9B
secondary
#6ABC65
accent
#E04850
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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