#951C8B#951C8B

#951C8B is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.193 H 332.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#951C8B
RGBrgb(149, 28, 139)
HSLhsl(305, 68%, 35%)
HSVhsv(305, 81%, 58%)
CMYKcmyk(0%, 81.2%, 6.7%, 41.6%)
CIE-LABlab(36.15, 59.51, -32.97)
CIE-LCHlch(36.15, 68.03, 331.01°)
OKLaboklab(47.53% 0.1708 -0.0908)
OKLCHoklch(47.53% 0.193 332)
XYZxyz(17.4699, 9.0856, 25.2547)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C8B #1C9526
analogous
#631C95 #951C8B #951C4E
triadic
#951C8B #8B951C #1C8B95
tetradic
#951C8B #95631C #1C9526 #1C4E95
square
#951C8B #95631C #1C9526 #1C4E95
split-complementary
#951C8B #4E951C #1C9563
monochromatic
#2E092B #61125B #951C8B #C926BB #DE4ED2

Accessibility & contrast

On white

7.46
#951C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#951C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C8B
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C8B#FFFFFF#000000##FFFFFF
##951C8B1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104A8E
Deuteranopia (green-blind)
#465B88
Tritanopia (blue-blind)
#9C2C54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951c8b;
/* rgb */ color: rgb(149, 28, 139);
/* oklch */ color: oklch(47.5% 0.193 332.0);
Tailwind
colors: {
  custom: {
    50: '#b869ad',
    500: '#951c8b',
    950: '#000000',
  },
}
SCSS
$custom: #951c8b;
$custom-light: #b869ad;
$custom-dark: #000000;
JSON
{
  "hex": "#951c8b",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 304.959,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47533,
    "c": 0.19344,
    "h": 332
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

primary
#951C8B
secondary
#4DC056
accent
#EB4B3D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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