#952F8E#952F8E

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

Color values

HEX#952F8E
RGBrgb(149, 47, 142)
HSLhsl(304, 52%, 38%)
HSVhsv(304, 68%, 58%)
CMYKcmyk(0%, 68.5%, 4.7%, 41.6%)
CIE-LABlab(38.51, 53.72, -31.08)
CIE-LCHlch(38.51, 62.07, 329.95°)
OKLaboklab(49.28% 0.1528 -0.0855)
OKLCHoklch(49.28% 0.175 330.8)
XYZxyz(18.2934, 10.3770, 26.6254)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F8E #2F9536
analogous
#692F95 #952F8E #952F5B
triadic
#952F8E #8E952F #2F8E95
tetradic
#952F8E #95692F #2F9536 #2F5B95
square
#952F8E #95692F #2F9536 #2F5B95
split-complementary
#952F8E #5B952F #2F9569
monochromatic
#381235 #662062 #952F8E #C23FB9 #D16DCA

Accessibility & contrast

On white

6.83
#952F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952F8E
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F8E#FFFFFF#000000##FFFFFF
##952F8E1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275291
Deuteranopia (green-blind)
#4C608B
Tritanopia (blue-blind)
#9B3A5A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952f8e;
/* rgb */ color: rgb(149, 47, 142);
/* oklch */ color: oklch(49.3% 0.175 330.8);
Tailwind
colors: {
  custom: {
    50: '#b770af',
    500: '#952f8e',
    950: '#000000',
  },
}
SCSS
$custom: #952f8e;
$custom-light: #b770af;
$custom-dark: #000000;
JSON
{
  "hex": "#952f8e",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 304.118,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49282,
    "c": 0.17507,
    "h": 330.8
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#952F8E
secondary
#67B86D
accent
#DB564C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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