#952A9C#952A9C

#952A9C is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.193 H 325.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#952A9C
RGBrgb(149, 42, 156)
HSLhsl(296, 58%, 39%)
HSVhsv(296, 73%, 61%)
CMYKcmyk(4.5%, 73.1%, 0%, 38.8%)
CIE-LABlab(38.63, 58.00, -39.40)
CIE-LCHlch(38.63, 70.12, 325.81°)
OKLaboklab(49.62% 0.1583 -0.1096)
OKLCHoklch(49.62% 0.193 325.3)
XYZxyz(19.2227, 10.4470, 32.4500)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A9C #319C2A
analogous
#5C2A9C #952A9C #9C2A6A
triadic
#952A9C #9C952A #2A9C95
tetradic
#952A9C #9C5C2A #319C2A #2A6A9C
square
#952A9C #9C5C2A #319C2A #2A6A9C
split-complementary
#952A9C #6A9C2A #2A9C5C
monochromatic
#39103C #671D6C #952A9C #C139CA #D06AD7

Accessibility & contrast

On white

6.80
#952A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#952A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952A9C
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A9C#FFFFFF#000000##FFFFFF
##952A9C1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07539F
Deuteranopia (green-blind)
#425F99
Tritanopia (blue-blind)
#983D61
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952a9c;
/* rgb */ color: rgb(149, 42, 156);
/* oklch */ color: oklch(49.6% 0.193 325.3);
Tailwind
colors: {
  custom: {
    50: '#b86fba',
    500: '#952a9c',
    950: '#000000',
  },
}
SCSS
$custom: #952a9c;
$custom-light: #b86fba;
$custom-dark: #000000;
JSON
{
  "hex": "#952a9c",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 296.316,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49622,
    "c": 0.19257,
    "h": 325.3
  },
  "luminance": 0.10446
}

Semantic roles & 50–950 ramp

primary
#952A9C
secondary
#6ABD65
accent
#E14750
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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