#952F91#952F91

#952F91 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.4% C 0.178 H 329.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#952F91
RGBrgb(149, 47, 145)
HSLhsl(302, 52%, 38%)
HSVhsv(302, 68%, 58%)
CMYKcmyk(0%, 68.5%, 2.7%, 41.6%)
CIE-LABlab(38.67, 54.23, -32.66)
CIE-LCHlch(38.67, 63.31, 328.94°)
OKLaboklab(49.45% 0.153 -0.0901)
OKLCHoklch(49.45% 0.178 329.5)
XYZxyz(18.5216, 10.4683, 27.8276)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F91 #2F9533
analogous
#662F95 #952F91 #952F5E
triadic
#952F91 #91952F #2F9195
tetradic
#952F91 #95662F #2F9533 #2F5E95
square
#952F91 #95662F #2F9533 #2F5E95
split-complementary
#952F91 #5E952F #2F9566
monochromatic
#381236 #662064 #952F91 #C23FBD #D16DCD

Accessibility & contrast

On white

6.79
#952F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#952F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F91
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F91#FFFFFF#000000##FFFFFF
##952F911.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245294
Deuteranopia (green-blind)
#4B608E
Tritanopia (blue-blind)
#9A3C5C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952f91;
/* rgb */ color: rgb(149, 47, 145);
/* oklch */ color: oklch(49.4% 0.178 329.5);
Tailwind
colors: {
  custom: {
    50: '#b771b1',
    500: '#952f91',
    950: '#000000',
  },
}
SCSS
$custom: #952f91;
$custom-light: #b771b1;
$custom-dark: #000000;
JSON
{
  "hex": "#952f91",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 302.353,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49449,
    "c": 0.17751,
    "h": 329.5
  },
  "luminance": 0.10467
}

Semantic roles & 50–950 ramp

primary
#952F91
secondary
#67B86B
accent
#DB524C
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #952F91

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

Preview Lab → · Contrast checker → · Palette generator →

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