#951C9F#951C9F

#951C9F is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.8% C 0.208 H 324.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#951C9F
RGBrgb(149, 28, 159)
HSLhsl(295, 70%, 37%)
HSVhsv(295, 82%, 62%)
CMYKcmyk(6.3%, 82.4%, 0%, 37.6%)
CIE-LABlab(37.34, 62.77, -43.27)
CIE-LCHlch(37.34, 76.24, 325.42°)
OKLaboklab(48.77% 0.1699 -0.1208)
OKLCHoklch(48.77% 0.208 324.6)
XYZxyz(19.0672, 9.7245, 33.6669)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C9F #269F1C
analogous
#541C9F #951C9F #9F1C68
triadic
#951C9F #9F951C #1C9F95
tetradic
#951C9F #9F541C #269F1C #1C689F
square
#951C9F #9F541C #269F1C #1C689F
split-complementary
#951C9F #689F1C #1C9F54
monochromatic
#330A37 #64136B #951C9F #C625D3 #D654E1

Accessibility & contrast

On white

7.13
#951C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#951C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C9F
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C9F#FFFFFF#000000##FFFFFF
##951C9F1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#395D9C
Tritanopia (blue-blind)
#98375F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #951c9f;
/* rgb */ color: rgb(149, 28, 159);
/* oklch */ color: oklch(48.8% 0.208 324.6);
Tailwind
colors: {
  custom: {
    50: '#b86abc',
    500: '#951c9f',
    950: '#000000',
  },
}
SCSS
$custom: #951c9f;
$custom-light: #b86abc;
$custom-dark: #000000;
JSON
{
  "hex": "#951c9f",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 295.42,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48765,
    "c": 0.20845,
    "h": 324.6
  },
  "luminance": 0.09723
}

Semantic roles & 50–950 ramp

primary
#951C9F
secondary
#5BC453
accent
#ED3B49
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #951C9F

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

Preview Lab → · Contrast checker → · Palette generator →

#951C9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva