#952F99#952F99

#952F99 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.184 H 326.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#952F99
RGBrgb(149, 47, 153)
HSLhsl(298, 53%, 39%)
HSVhsv(298, 69%, 60%)
CMYKcmyk(2.6%, 69.3%, 0%, 40%)
CIE-LABlab(39.11, 55.62, -36.82)
CIE-LCHlch(39.11, 66.71, 326.50°)
OKLaboklab(49.91% 0.1532 -0.1021)
OKLCHoklch(49.91% 0.184 326.3)
XYZxyz(19.1603, 10.7238, 31.1915)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F99 #33992F
analogous
#602F99 #952F99 #992F68
triadic
#952F99 #99952F #2F9995
tetradic
#952F99 #99602F #33992F #2F6899
square
#952F99 #99602F #33992F #2F6899
split-complementary
#952F99 #68992F #2F9960
monochromatic
#3A123B #67216A #952F99 #C041C5 #CF6FD3

Accessibility & contrast

On white

6.68
#952F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#952F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F99
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F99#FFFFFF#000000##FFFFFF
##952F991.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549C
Deuteranopia (green-blind)
#476196
Tritanopia (blue-blind)
#993F60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952f99;
/* rgb */ color: rgb(149, 47, 153);
/* oklch */ color: oklch(49.9% 0.184 326.3);
Tailwind
colors: {
  custom: {
    50: '#b771b7',
    500: '#952f99',
    950: '#000000',
  },
}
SCSS
$custom: #952f99;
$custom-light: #b771b7;
$custom-dark: #000000;
JSON
{
  "hex": "#952f99",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 297.736,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49909,
    "c": 0.18414,
    "h": 326.3
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

primary
#952F99
secondary
#6CBA69
accent
#DC4B51
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952F99

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

Preview Lab → · Contrast checker → · Palette generator →

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