#951C9D#951C9D

#951C9D is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.207 H 325.3°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#951C9D
RGBrgb(149, 28, 157)
HSLhsl(296, 70%, 36%)
HSVhsv(296, 82%, 62%)
CMYKcmyk(5.1%, 82.2%, 0%, 38.4%)
CIE-LABlab(37.22, 62.43, -42.26)
CIE-LCHlch(37.22, 75.39, 325.90°)
OKLaboklab(48.64% 0.1701 -0.1179)
OKLCHoklch(48.64% 0.207 325.3)
XYZxyz(18.8950, 9.6557, 32.7603)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C9D #249D1C
analogous
#551C9D #951C9D #9D1C65
triadic
#951C9D #9D951C #1C9D95
tetradic
#951C9D #9D551C #249D1C #1C659D
square
#951C9D #9D551C #249D1C #1C659D
split-complementary
#951C9D #659D1C #1C9D55
monochromatic
#320935 #641369 #951C9D #C625D1 #D853E0

Accessibility & contrast

On white

7.17
#951C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#951C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C9D
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C9D#FFFFFF#000000##FFFFFF
##951C9D1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#3B5C9A
Tritanopia (blue-blind)
#98365E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #951c9d;
/* rgb */ color: rgb(149, 28, 157);
/* oklch */ color: oklch(48.6% 0.207 325.3);
Tailwind
colors: {
  custom: {
    50: '#b869ba',
    500: '#951c9d',
    950: '#000000',
  },
}
SCSS
$custom: #951c9d;
$custom-light: #b869ba;
$custom-dark: #000000;
JSON
{
  "hex": "#951c9d",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 296.279,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48635,
    "c": 0.20691,
    "h": 325.3
  },
  "luminance": 0.09654
}

Semantic roles & 50–950 ramp

primary
#951C9D
secondary
#59C351
accent
#ED3B46
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #951C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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