#952FB9#952FB9

#952FB9 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.212 H 315.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#952FB9
RGBrgb(149, 47, 185)
HSLhsl(284, 59%, 45%)
HSVhsv(284, 75%, 73%)
CMYKcmyk(19.5%, 74.6%, 0%, 27.5%)
CIE-LABlab(41.10, 61.65, -52.73)
CIE-LCHlch(41.10, 81.13, 319.46°)
OKLaboklab(51.96% 0.1512 -0.1486)
OKLCHoklch(51.96% 0.212 315.5)
XYZxyz(22.1665, 11.9262, 47.0239)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FB9 #53B92F
analogous
#502FB9 #952FB9 #B92F98
triadic
#952FB9 #B9952F #2FB995
tetradic
#952FB9 #B9502F #53B92F #2F98B9
square
#952FB9 #B9502F #53B92F #2F98B9
split-complementary
#952FB9 #98B92F #2FB950
monochromatic
#461657 #6E2388 #952FB9 #B152D3 #C783DF

Accessibility & contrast

On white

6.20
#952FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#952FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FB9
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FB9#FFFFFF#000000##FFFFFF
##952FB91.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#2B64B6
Tritanopia (blue-blind)
#924D72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #952fb9;
/* rgb */ color: rgb(149, 47, 185);
/* oklch */ color: oklch(52.0% 0.212 315.5);
Tailwind
colors: {
  custom: {
    50: '#b872cf',
    500: '#952fb9',
    950: '#000000',
  },
}
SCSS
$custom: #952fb9;
$custom-light: #b872cf;
$custom-dark: #000000;
JSON
{
  "hex": "#952fb9",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 284.348,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51964,
    "c": 0.21201,
    "h": 315.5
  },
  "luminance": 0.11925
}

Semantic roles & 50–950 ramp

primary
#952FB9
secondary
#8FC97B
accent
#E3456E
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #952FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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