#951A86#951A86

#951A86 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.58:1 contrast (WCAG AA passes).

Color values

HEX#951A86
RGBrgb(149, 26, 134)
HSLhsl(307, 70%, 34%)
HSVhsv(307, 83%, 58%)
CMYKcmyk(0%, 82.6%, 10.1%, 41.6%)
CIE-LABlab(35.70, 59.26, -30.60)
CIE-LCHlch(35.70, 66.69, 332.69°)
OKLaboklab(47.12% 0.1722 -0.084)
OKLCHoklch(47.12% 0.192 334)
XYZxyz(17.0671, 8.8511, 23.3592)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A86 #1A9529
analogous
#671A95 #951A86 #951A49
triadic
#951A86 #86951A #1A8695
tetradic
#951A86 #95671A #1A9529 #1A4995
square
#951A86 #95671A #1A9529 #1A4995
split-complementary
#951A86 #49951A #1A9567
monochromatic
#2D0828 #611157 #951A86 #C923B5 #DF4ACD

Accessibility & contrast

On white

7.58
#951A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#951A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951A86
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A86#FFFFFF#000000##FFFFFF
##951A861.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951a86;
/* rgb */ color: rgb(149, 26, 134);
/* oklch */ color: oklch(47.1% 0.192 334.0);
Tailwind
colors: {
  custom: {
    50: '#b868a9',
    500: '#951a86',
    950: '#000000',
  },
}
SCSS
$custom: #951a86;
$custom-light: #b868a9;
$custom-dark: #000000;
JSON
{
  "hex": "#951a86",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 307.317,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47121,
    "c": 0.19157,
    "h": 334
  },
  "luminance": 0.0885
}

Semantic roles & 50–950 ramp

primary
#951A86
secondary
#4AC158
accent
#ED503B
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951A86

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

Preview Lab → · Contrast checker → · Palette generator →

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