#951884#951884

#951884 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.192 H 334.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#951884
RGBrgb(149, 24, 132)
HSLhsl(308, 72%, 34%)
HSVhsv(308, 84%, 58%)
CMYKcmyk(0%, 83.9%, 11.4%, 41.6%)
CIE-LABlab(35.42, 59.44, -29.79)
CIE-LCHlch(35.42, 66.49, 333.38°)
OKLaboklab(46.89% 0.1736 -0.0816)
OKLCHoklch(46.89% 0.192 334.8)
XYZxyz(16.8861, 8.7103, 22.6173)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951884 #189529
analogous
#681895 #951884 #951846
triadic
#951884 #849518 #188495
tetradic
#951884 #956818 #189529 #184695
square
#951884 #956818 #189529 #184695
split-complementary
#951884 #469518 #189568
monochromatic
#2C0727 #601055 #951884 #CA20B3 #E146CC

Accessibility & contrast

On white

7.66
#951884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#951884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951884
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951884#FFFFFF#000000##FFFFFF
##9518841.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164887
Deuteranopia (green-blind)
#485A81
Tritanopia (blue-blind)
#9D264F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951884;
/* rgb */ color: rgb(149, 24, 132);
/* oklch */ color: oklch(46.9% 0.192 334.8);
Tailwind
colors: {
  custom: {
    50: '#b867a8',
    500: '#951884',
    950: '#000000',
  },
}
SCSS
$custom: #951884;
$custom-light: #b867a8;
$custom-dark: #000000;
JSON
{
  "hex": "#951884",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 308.16,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46889,
    "c": 0.1918,
    "h": 334.8
  },
  "luminance": 0.08709
}

Semantic roles & 50–950 ramp

primary
#951884
secondary
#46C257
accent
#EF5239
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951884

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

Preview Lab → · Contrast checker → · Palette generator →

#951884 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva