#952F97#952F97

#952F97 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.8% C 0.182 H 327.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#952F97
RGBrgb(149, 47, 151)
HSLhsl(299, 53%, 39%)
HSVhsv(299, 69%, 59%)
CMYKcmyk(1.3%, 68.9%, 0%, 40.8%)
CIE-LABlab(39.00, 55.27, -35.79)
CIE-LCHlch(39.00, 65.85, 327.08°)
OKLaboklab(49.79% 0.1532 -0.0991)
OKLCHoklch(49.79% 0.182 327.1)
XYZxyz(18.9965, 10.6582, 30.3288)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F97 #31972F
analogous
#612F97 #952F97 #972F65
triadic
#952F97 #97952F #2F9795
tetradic
#952F97 #97612F #31972F #2F6597
square
#952F97 #97612F #31972F #2F6597
split-complementary
#952F97 #65972F #2F9761
monochromatic
#39123A #672068 #952F97 #C140C3 #D06ED2

Accessibility & contrast

On white

6.71
#952F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#952F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F97
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F97#FFFFFF#000000##FFFFFF
##952F971.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D539A
Deuteranopia (green-blind)
#486094
Tritanopia (blue-blind)
#993E5F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952f97;
/* rgb */ color: rgb(149, 47, 151);
/* oklch */ color: oklch(49.8% 0.182 327.1);
Tailwind
colors: {
  custom: {
    50: '#b771b6',
    500: '#952f97',
    950: '#000000',
  },
}
SCSS
$custom: #952f97;
$custom-light: #b771b6;
$custom-dark: #000000;
JSON
{
  "hex": "#952f97",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 298.846,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49792,
    "c": 0.18246,
    "h": 327.1
  },
  "luminance": 0.10657
}

Semantic roles & 50–950 ramp

primary
#952F97
secondary
#6AB968
accent
#DC4C4F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952F97

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

Preview Lab → · Contrast checker → · Palette generator →

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