#951F86#951F86

#951F86 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.187 H 334.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#951F86
RGBrgb(149, 31, 134)
HSLhsl(308, 66%, 35%)
HSVhsv(308, 79%, 58%)
CMYKcmyk(0%, 79.2%, 10.1%, 41.6%)
CIE-LABlab(36.16, 57.91, -29.86)
CIE-LCHlch(36.16, 65.16, 332.72°)
OKLaboklab(47.45% 0.1682 -0.0819)
OKLCHoklch(47.45% 0.187 334)
XYZxyz(17.1877, 9.0923, 23.3994)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F86 #1F952E
analogous
#691F95 #951F86 #951F4B
triadic
#951F86 #86951F #1F8695
tetradic
#951F86 #95691F #1F952E #1F4B95
square
#951F86 #95691F #1F952E #1F4B95
split-complementary
#951F86 #4B951F #1F9569
monochromatic
#300A2B #621458 #951F86 #C82AB4 #DB53CA

Accessibility & contrast

On white

7.45
#951F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#951F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F86
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F86#FFFFFF#000000##FFFFFF
##951F861.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A89
Deuteranopia (green-blind)
#4A5B83
Tritanopia (blue-blind)
#9C2B52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951f86;
/* rgb */ color: rgb(149, 31, 134);
/* oklch */ color: oklch(47.5% 0.187 334.0);
Tailwind
colors: {
  custom: {
    50: '#b869a9',
    500: '#951f86',
    950: '#000000',
  },
}
SCSS
$custom: #951f86;
$custom-light: #b869a9;
$custom-dark: #000000;
JSON
{
  "hex": "#951f86",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 307.627,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47454,
    "c": 0.1871,
    "h": 334
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#951F86
secondary
#51BF5F
accent
#E9553F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951F86

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

Preview Lab → · Contrast checker → · Palette generator →

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