#952F9C#952F9C

#952F9C is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.187 H 325.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#952F9C
RGBrgb(149, 47, 156)
HSLhsl(296, 54%, 40%)
HSVhsv(296, 70%, 61%)
CMYKcmyk(4.5%, 69.9%, 0%, 38.8%)
CIE-LABlab(39.28, 56.16, -38.36)
CIE-LCHlch(39.28, 68.01, 325.66°)
OKLaboklab(50.09% 0.1532 -0.1066)
OKLCHoklch(50.09% 0.187 325.2)
XYZxyz(19.4112, 10.8241, 32.5129)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F9C #369C2F
analogous
#5F2F9C #952F9C #9C2F6C
triadic
#952F9C #9C952F #2F9C95
tetradic
#952F9C #9C5F2F #369C2F #2F6C9C
square
#952F9C #9C5F2F #369C2F #2F6C9C
split-complementary
#952F9C #6C9C2F #2F9C5F
monochromatic
#3B133E #68216D #952F9C #BE42C6 #CE71D4

Accessibility & contrast

On white

6.64
#952F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952F9C
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F9C#FFFFFF#000000##FFFFFF
##952F9C1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15559F
Deuteranopia (green-blind)
#456199
Tritanopia (blue-blind)
#984062
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952f9c;
/* rgb */ color: rgb(149, 47, 156);
/* oklch */ color: oklch(50.1% 0.187 325.2);
Tailwind
colors: {
  custom: {
    50: '#b771ba',
    500: '#952f9c',
    950: '#000000',
  },
}
SCSS
$custom: #952f9c;
$custom-light: #b771ba;
$custom-dark: #000000;
JSON
{
  "hex": "#952f9c",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 296.147,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50088,
    "c": 0.18667,
    "h": 325.2
  },
  "luminance": 0.10823
}

Semantic roles & 50–950 ramp

primary
#952F9C
secondary
#70BC6B
accent
#DD4B54
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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