#952F8F#952F8F

#952F8F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.3% C 0.176 H 330.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#952F8F
RGBrgb(149, 47, 143)
HSLhsl(304, 52%, 38%)
HSVhsv(304, 68%, 58%)
CMYKcmyk(0%, 68.5%, 4%, 41.6%)
CIE-LABlab(38.56, 53.89, -31.61)
CIE-LCHlch(38.56, 62.48, 329.61°)
OKLaboklab(49.34% 0.1528 -0.087)
OKLCHoklch(49.34% 0.176 330.3)
XYZxyz(18.3688, 10.4071, 27.0226)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F8F #2F9535
analogous
#682F95 #952F8F #952F5C
triadic
#952F8F #8F952F #2F8F95
tetradic
#952F8F #95682F #2F9535 #2F5C95
square
#952F8F #95682F #2F9535 #2F5C95
split-complementary
#952F8F #5C952F #2F9568
monochromatic
#381236 #662062 #952F8F #C23FBB #D16DCB

Accessibility & contrast

On white

6.82
#952F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#952F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F8F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F8F#FFFFFF#000000##FFFFFF
##952F8F1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265292
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#9B3B5B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952f8f;
/* rgb */ color: rgb(149, 47, 143);
/* oklch */ color: oklch(49.3% 0.176 330.3);
Tailwind
colors: {
  custom: {
    50: '#b770b0',
    500: '#952f8f',
    950: '#000000',
  },
}
SCSS
$custom: #952f8f;
$custom-light: #b770b0;
$custom-dark: #000000;
JSON
{
  "hex": "#952f8f",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 303.529,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49337,
    "c": 0.17588,
    "h": 330.3
  },
  "luminance": 0.10406
}

Semantic roles & 50–950 ramp

primary
#952F8F
secondary
#67B86C
accent
#DB554C
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #952F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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