#952F9F#952F9F

#952F9F is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.189 H 324.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#952F9F
RGBrgb(149, 47, 159)
HSLhsl(295, 54%, 40%)
HSVhsv(295, 70%, 62%)
CMYKcmyk(6.3%, 70.4%, 0%, 37.6%)
CIE-LABlab(39.46, 56.70, -39.89)
CIE-LCHlch(39.46, 69.33, 324.87°)
OKLaboklab(50.27% 0.1532 -0.1111)
OKLCHoklch(50.27% 0.189 324.1)
XYZxyz(19.6684, 10.9270, 33.8673)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F9F #399F2F
analogous
#5D2F9F #952F9F #9F2F71
triadic
#952F9F #9F952F #2F9F95
tetradic
#952F9F #9F5D2F #399F2F #2F719F
square
#952F9F #9F5D2F #399F2F #2F719F
split-complementary
#952F9F #719F2F #2F9F5D
monochromatic
#3C1341 #692170 #952F9F #BC44C8 #CD73D6

Accessibility & contrast

On white

6.59
#952F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#952F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F9F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F9F#FFFFFF#000000##FFFFFF
##952F9F1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F55A2
Deuteranopia (green-blind)
#43619C
Tritanopia (blue-blind)
#984264
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952f9f;
/* rgb */ color: rgb(149, 47, 159);
/* oklch */ color: oklch(50.3% 0.189 324.1);
Tailwind
colors: {
  custom: {
    50: '#b771bc',
    500: '#952f9f',
    950: '#000000',
  },
}
SCSS
$custom: #952f9f;
$custom-light: #b771bc;
$custom-dark: #000000;
JSON
{
  "hex": "#952f9f",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 294.643,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50269,
    "c": 0.18923,
    "h": 324.1
  },
  "luminance": 0.10926
}

Semantic roles & 50–950 ramp

primary
#952F9F
secondary
#74BD6D
accent
#DE4A57
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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