#952B9C#952B9C

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

Color values

HEX#952B9C
RGBrgb(149, 43, 156)
HSLhsl(296, 57%, 39%)
HSVhsv(296, 72%, 61%)
CMYKcmyk(4.5%, 72.4%, 0%, 38.8%)
CIE-LABlab(38.76, 57.65, -39.20)
CIE-LCHlch(38.76, 69.71, 325.79°)
OKLaboklab(49.71% 0.1574 -0.109)
OKLCHoklch(49.71% 0.191 325.3)
XYZxyz(19.2586, 10.5189, 32.4620)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952B9C #329C2B
analogous
#5D2B9C #952B9C #9C2B6B
triadic
#952B9C #9C952B #2B9C95
tetradic
#952B9C #9C5D2B #329C2B #2B6B9C
square
#952B9C #9C5D2B #329C2B #2B6B9C
split-complementary
#952B9C #6B9C2B #2B9C5D
monochromatic
#39113C #671E6C #952B9C #C03BC9 #D06BD6

Accessibility & contrast

On white

6.77
#952B9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952B9C
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952B9C#FFFFFF#000000##FFFFFF
##952B9C1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A539F
Deuteranopia (green-blind)
#436099
Tritanopia (blue-blind)
#983E61
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952b9c;
/* rgb */ color: rgb(149, 43, 156);
/* oklch */ color: oklch(49.7% 0.191 325.3);
Tailwind
colors: {
  custom: {
    50: '#b86fba',
    500: '#952b9c',
    950: '#000000',
  },
}
SCSS
$custom: #952b9c;
$custom-light: #b86fba;
$custom-dark: #000000;
JSON
{
  "hex": "#952b9c",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 296.283,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49712,
    "c": 0.19143,
    "h": 325.3
  },
  "luminance": 0.10518
}

Semantic roles & 50–950 ramp

primary
#952B9C
secondary
#6BBD66
accent
#E04851
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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