#951F84#951F84

#951F84 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.186 H 334.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#951F84
RGBrgb(149, 31, 132)
HSLhsl(309, 66%, 35%)
HSVhsv(309, 79%, 58%)
CMYKcmyk(0%, 79.2%, 11.4%, 41.6%)
CIE-LABlab(36.06, 57.61, -28.79)
CIE-LCHlch(36.06, 64.40, 333.45°)
OKLaboklab(47.34% 0.1681 -0.0788)
OKLCHoklch(47.34% 0.186 334.9)
XYZxyz(17.0495, 9.0370, 22.6717)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F84 #1F9530
analogous
#6B1F95 #951F84 #951F49
triadic
#951F84 #84951F #1F8495
tetradic
#951F84 #956B1F #1F9530 #1F4995
square
#951F84 #956B1F #1F9530 #1F4995
split-complementary
#951F84 #49951F #1F956B
monochromatic
#300A2A #621457 #951F84 #C82AB1 #DB53C8

Accessibility & contrast

On white

7.48
#951F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#951F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F84
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F84#FFFFFF#000000##FFFFFF
##951F841.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A87
Deuteranopia (green-blind)
#4B5B81
Tritanopia (blue-blind)
#9D2A50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951f84;
/* rgb */ color: rgb(149, 31, 132);
/* oklch */ color: oklch(47.3% 0.186 334.9);
Tailwind
colors: {
  custom: {
    50: '#b869a8',
    500: '#951f84',
    950: '#000000',
  },
}
SCSS
$custom: #951f84;
$custom-light: #b869a8;
$custom-dark: #000000;
JSON
{
  "hex": "#951f84",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 308.644,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47344,
    "c": 0.18567,
    "h": 334.9
  },
  "luminance": 0.09035
}

Semantic roles & 50–950 ramp

primary
#951F84
secondary
#51BF61
accent
#E9583F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951F84

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

Preview Lab → · Contrast checker → · Palette generator →

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