#952A97#952A97

#952A97 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.188 H 327.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#952A97
RGBrgb(149, 42, 151)
HSLhsl(299, 56%, 38%)
HSVhsv(299, 72%, 59%)
CMYKcmyk(1.3%, 72.2%, 0%, 40.8%)
CIE-LABlab(38.34, 57.13, -36.83)
CIE-LCHlch(38.34, 67.97, 327.19°)
OKLaboklab(49.32% 0.1584 -0.1021)
OKLCHoklch(49.32% 0.188 327.2)
XYZxyz(18.8080, 10.2812, 30.2660)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A97 #2C972A
analogous
#5E2A97 #952A97 #972A62
triadic
#952A97 #97952A #2A9795
tetradic
#952A97 #975E2A #2C972A #2A6297
square
#952A97 #975E2A #2C972A #2A6297
split-complementary
#952A97 #62972A #2A975E
monochromatic
#370F37 #661D67 #952A97 #C437C7 #D367D5

Accessibility & contrast

On white

6.87
#952A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#952A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952A97
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A97#FFFFFF#000000##FFFFFF
##952A971.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13519A
Deuteranopia (green-blind)
#455F94
Tritanopia (blue-blind)
#993B5E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952a97;
/* rgb */ color: rgb(149, 42, 151);
/* oklch */ color: oklch(49.3% 0.188 327.2);
Tailwind
colors: {
  custom: {
    50: '#b86eb6',
    500: '#952a97',
    950: '#000000',
  },
}
SCSS
$custom: #952a97;
$custom-light: #b86eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#952a97",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 298.899,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49321,
    "c": 0.18848,
    "h": 327.2
  },
  "luminance": 0.1028
}

Semantic roles & 50–950 ramp

primary
#952A97
secondary
#64BB62
accent
#E0484B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952A97

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

Preview Lab → · Contrast checker → · Palette generator →

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