#952FB5#952FB5

#952FB5 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.208 H 316.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#952FB5
RGBrgb(149, 47, 181)
HSLhsl(286, 59%, 45%)
HSVhsv(286, 74%, 71%)
CMYKcmyk(17.7%, 74%, 0%, 29%)
CIE-LABlab(40.83, 60.86, -50.80)
CIE-LCHlch(40.83, 79.28, 320.15°)
OKLaboklab(51.69% 0.1517 -0.143)
OKLCHoklch(51.69% 0.208 316.7)
XYZxyz(21.7502, 11.7597, 44.8313)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FB5 #4FB52F
analogous
#522FB5 #952FB5 #B52F92
triadic
#952FB5 #B5952F #2FB595
tetradic
#952FB5 #B5522F #4FB52F #2F92B5
square
#952FB5 #B5522F #4FB52F #2F92B5
split-complementary
#952FB5 #92B52F #2FB552
monochromatic
#451654 #6D2284 #952FB5 #B250D1 #C880DE

Accessibility & contrast

On white

6.27
#952FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#952FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FB5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FB5#FFFFFF#000000##FFFFFF
##952FB51.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#3063B2
Tritanopia (blue-blind)
#934B70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #952fb5;
/* rgb */ color: rgb(149, 47, 181);
/* oklch */ color: oklch(51.7% 0.208 316.7);
Tailwind
colors: {
  custom: {
    50: '#b872cc',
    500: '#952fb5',
    950: '#000000',
  },
}
SCSS
$custom: #952fb5;
$custom-light: #b872cc;
$custom-dark: #000000;
JSON
{
  "hex": "#952fb5",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 285.672,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51689,
    "c": 0.20845,
    "h": 316.7
  },
  "luminance": 0.11759
}

Semantic roles & 50–950 ramp

primary
#952FB5
secondary
#8BC779
accent
#E2466B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #952FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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