#952F9E#952F9E

#952F9E is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.188 H 324.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#952F9E
RGBrgb(149, 47, 158)
HSLhsl(295, 54%, 40%)
HSVhsv(295, 70%, 62%)
CMYKcmyk(5.7%, 70.3%, 0%, 38%)
CIE-LABlab(39.40, 56.52, -39.38)
CIE-LCHlch(39.40, 68.89, 325.13°)
OKLaboklab(50.21% 0.1532 -0.1096)
OKLCHoklch(50.21% 0.188 324.4)
XYZxyz(19.5820, 10.8924, 33.4122)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F9E #389E2F
analogous
#5D2F9E #952F9E #9E2F6F
triadic
#952F9E #9E952F #2F9E95
tetradic
#952F9E #9E5D2F #389E2F #2F6F9E
square
#952F9E #9E5D2F #389E2F #2F6F9E
split-complementary
#952F9E #6F9E2F #2F9E5D
monochromatic
#3C1340 #69216F #952F9E #BC43C7 #CD72D5

Accessibility & contrast

On white

6.61
#952F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#952F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F9E
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F9E#FFFFFF#000000##FFFFFF
##952F9E1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1155A1
Deuteranopia (green-blind)
#43619B
Tritanopia (blue-blind)
#984163
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952f9e;
/* rgb */ color: rgb(149, 47, 158);
/* oklch */ color: oklch(50.2% 0.188 324.4);
Tailwind
colors: {
  custom: {
    50: '#b771bb',
    500: '#952f9e',
    950: '#000000',
  },
}
SCSS
$custom: #952f9e;
$custom-light: #b771bb;
$custom-dark: #000000;
JSON
{
  "hex": "#952f9e",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 295.135,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50208,
    "c": 0.18838,
    "h": 324.4
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

primary
#952F9E
secondary
#73BD6C
accent
#DE4A56
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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