#952F9A#952F9A

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

Color values

HEX#952F9A
RGBrgb(149, 47, 154)
HSLhsl(297, 53%, 39%)
HSVhsv(297, 69%, 60%)
CMYKcmyk(3.2%, 69.5%, 0%, 39.6%)
CIE-LABlab(39.17, 55.80, -37.34)
CIE-LCHlch(39.17, 67.14, 326.21°)
OKLaboklab(49.97% 0.1532 -0.1036)
OKLCHoklch(49.97% 0.185 325.9)
XYZxyz(19.2433, 10.7569, 31.6283)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F9A #349A2F
analogous
#602F9A #952F9A #9A2F6A
triadic
#952F9A #9A952F #2F9A95
tetradic
#952F9A #9A602F #349A2F #2F6A9A
square
#952F9A #9A602F #349A2F #2F6A9A
split-complementary
#952F9A #6A9A2F #2F9A60
monochromatic
#3A123C #68216B #952F9A #BF41C5 #CF70D3

Accessibility & contrast

On white

6.66
#952F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#952F9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F9A
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F9A#FFFFFF#000000##FFFFFF
##952F9A1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19549D
Deuteranopia (green-blind)
#466197
Tritanopia (blue-blind)
#994061
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952f9a;
/* rgb */ color: rgb(149, 47, 154);
/* oklch */ color: oklch(50.0% 0.185 325.9);
Tailwind
colors: {
  custom: {
    50: '#b771b8',
    500: '#952f9a',
    950: '#000000',
  },
}
SCSS
$custom: #952f9a;
$custom-light: #b771b8;
$custom-dark: #000000;
JSON
{
  "hex": "#952f9a",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 297.196,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49968,
    "c": 0.18498,
    "h": 325.9
  },
  "luminance": 0.10756
}

Semantic roles & 50–950 ramp

primary
#952F9A
secondary
#6EBB6A
accent
#DD4B52
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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