#952B97#952B97

#952B97 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.187 H 327.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#952B97
RGBrgb(149, 43, 151)
HSLhsl(299, 56%, 38%)
HSVhsv(299, 72%, 59%)
CMYKcmyk(1.3%, 71.5%, 0%, 40.8%)
CIE-LABlab(38.47, 56.77, -36.63)
CIE-LCHlch(38.47, 67.56, 327.17°)
OKLaboklab(49.41% 0.1574 -0.1015)
OKLCHoklch(49.41% 0.187 327.2)
XYZxyz(18.8439, 10.3530, 30.2780)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952B97 #2D972B
analogous
#5F2B97 #952B97 #972B63
triadic
#952B97 #97952B #2B9795
tetradic
#952B97 #975F2B #2D972B #2B6397
square
#952B97 #975F2B #2D972B #2B6397
split-complementary
#952B97 #63972B #2B975F
monochromatic
#371038 #661D67 #952B97 #C439C7 #D268D4

Accessibility & contrast

On white

6.84
#952B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#952B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952B97
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952B97#FFFFFF#000000##FFFFFF
##952B971.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529A
Deuteranopia (green-blind)
#465F94
Tritanopia (blue-blind)
#993C5E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952b97;
/* rgb */ color: rgb(149, 43, 151);
/* oklch */ color: oklch(49.4% 0.187 327.2);
Tailwind
colors: {
  custom: {
    50: '#b86fb6',
    500: '#952b97',
    950: '#000000',
  },
}
SCSS
$custom: #952b97;
$custom-light: #b86fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#952b97",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 298.889,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49411,
    "c": 0.18732,
    "h": 327.2
  },
  "luminance": 0.10352
}

Semantic roles & 50–950 ramp

primary
#952B97
secondary
#65BB63
accent
#DF494C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952B97

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

Preview Lab → · Contrast checker → · Palette generator →

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