#951986#951986

#951986 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.192 H 334.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#951986
RGBrgb(149, 25, 134)
HSLhsl(307, 71%, 34%)
HSVhsv(307, 83%, 58%)
CMYKcmyk(0%, 83.2%, 10.1%, 41.6%)
CIE-LABlab(35.61, 59.50, -30.73)
CIE-LCHlch(35.61, 66.97, 332.68°)
OKLaboklab(47.06% 0.1729 -0.0843)
OKLCHoklch(47.06% 0.192 334)
XYZxyz(17.0453, 8.8076, 23.3520)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951986 #199528
analogous
#661995 #951986 #951948
triadic
#951986 #869519 #198695
tetradic
#951986 #956619 #199528 #194895
square
#951986 #956619 #199528 #194895
split-complementary
#951986 #489519 #199566
monochromatic
#2C0728 #611057 #951986 #C922B5 #E048CE

Accessibility & contrast

On white

7.61
#951986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#951986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951986
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951986#FFFFFF#000000##FFFFFF
##9519861.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144889
Deuteranopia (green-blind)
#485A83
Tritanopia (blue-blind)
#9C2750
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951986;
/* rgb */ color: rgb(149, 25, 134);
/* oklch */ color: oklch(47.1% 0.192 334.0);
Tailwind
colors: {
  custom: {
    50: '#b867a9',
    500: '#951986',
    950: '#000000',
  },
}
SCSS
$custom: #951986;
$custom-light: #b867a9;
$custom-dark: #000000;
JSON
{
  "hex": "#951986",
  "rgb": {
    "r": 149,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 307.258,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4706,
    "c": 0.19239,
    "h": 334
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#951986
secondary
#48C257
accent
#EE503A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951986

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

Preview Lab → · Contrast checker → · Palette generator →

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