#951C86#951C86

#951C86 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.190 H 334.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#951C86
RGBrgb(149, 28, 134)
HSLhsl(307, 68%, 35%)
HSVhsv(307, 81%, 58%)
CMYKcmyk(0%, 81.2%, 10.1%, 41.6%)
CIE-LABlab(35.87, 58.74, -30.32)
CIE-LCHlch(35.87, 66.10, 332.70°)
OKLaboklab(47.25% 0.1707 -0.0832)
OKLCHoklch(47.25% 0.19 334)
XYZxyz(17.1129, 8.9428, 23.3745)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C86 #1C952B
analogous
#681C95 #951C86 #951C4A
triadic
#951C86 #86951C #1C8695
tetradic
#951C86 #95681C #1C952B #1C4A95
square
#951C86 #95681C #1C952B #1C4A95
split-complementary
#951C86 #4A951C #1C9568
monochromatic
#2E0929 #611258 #951C86 #C926B4 #DE4ECC

Accessibility & contrast

On white

7.53
#951C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#951C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C86
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C86#FFFFFF#000000##FFFFFF
##951C861.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184989
Deuteranopia (green-blind)
#495A83
Tritanopia (blue-blind)
#9C2951
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951c86;
/* rgb */ color: rgb(149, 28, 134);
/* oklch */ color: oklch(47.2% 0.190 334.0);
Tailwind
colors: {
  custom: {
    50: '#b868a9',
    500: '#951c86',
    950: '#000000',
  },
}
SCSS
$custom: #951c86;
$custom-light: #b868a9;
$custom-dark: #000000;
JSON
{
  "hex": "#951c86",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 307.438,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47248,
    "c": 0.18986,
    "h": 334
  },
  "luminance": 0.08941
}

Semantic roles & 50–950 ramp

primary
#951C86
secondary
#4DC05B
accent
#EB523D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951C86

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

Preview Lab → · Contrast checker → · Palette generator →

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