#951E8B#951E8B

#951E8B is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.192 H 332.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#951E8B
RGBrgb(149, 30, 139)
HSLhsl(305, 66%, 35%)
HSVhsv(305, 80%, 58%)
CMYKcmyk(0%, 79.9%, 6.7%, 41.6%)
CIE-LABlab(36.34, 58.97, -32.68)
CIE-LCHlch(36.34, 67.41, 331.01°)
OKLaboklab(47.67% 0.1692 -0.09)
OKLCHoklch(47.67% 0.192 332)
XYZxyz(17.5190, 9.1837, 25.2710)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E8B #1E9528
analogous
#631E95 #951E8B #951E50
triadic
#951E8B #8B951E #1E8B95
tetradic
#951E8B #95631E #1E9528 #1E5095
square
#951E8B #95631E #1E9528 #1E5095
split-complementary
#951E8B #50951E #1E9563
monochromatic
#2F092C #62145B #951E8B #C828BB #DC51D0

Accessibility & contrast

On white

7.40
#951E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#951E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E8B
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E8B#FFFFFF#000000##FFFFFF
##951E8B1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134B8E
Deuteranopia (green-blind)
#475B88
Tritanopia (blue-blind)
#9C2D54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951e8b;
/* rgb */ color: rgb(149, 30, 139);
/* oklch */ color: oklch(47.7% 0.192 332.0);
Tailwind
colors: {
  custom: {
    50: '#b869ad',
    500: '#951e8b',
    950: '#000000',
  },
}
SCSS
$custom: #951e8b;
$custom-light: #b869ad;
$custom-dark: #000000;
JSON
{
  "hex": "#951e8b",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 305.042,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47667,
    "c": 0.19166,
    "h": 332
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

primary
#951E8B
secondary
#50BF59
accent
#E94D3E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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