#951F82#951F82

#951F82 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.184 H 335.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#951F82
RGBrgb(149, 31, 130)
HSLhsl(310, 66%, 35%)
HSVhsv(310, 79%, 58%)
CMYKcmyk(0%, 79.2%, 12.8%, 41.6%)
CIE-LABlab(35.95, 57.31, -27.71)
CIE-LCHlch(35.95, 63.66, 334.19°)
OKLaboklab(47.24% 0.168 -0.0757)
OKLCHoklch(47.24% 0.184 335.7)
XYZxyz(16.9139, 8.9828, 21.9578)
Luminance0.0898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F82 #1F9532
analogous
#6D1F95 #951F82 #951F47
triadic
#951F82 #82951F #1F8295
tetradic
#951F82 #956D1F #1F9532 #1F4795
square
#951F82 #956D1F #1F9532 #1F4795
split-complementary
#951F82 #47951F #1F956D
monochromatic
#300A2A #621456 #951F82 #C82AAE #DB53C5

Accessibility & contrast

On white

7.51
#951F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#951F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F82
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F82#FFFFFF#000000##FFFFFF
##951F821.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204985
Deuteranopia (green-blind)
#4B5B7F
Tritanopia (blue-blind)
#9D294F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951f82;
/* rgb */ color: rgb(149, 31, 130);
/* oklch */ color: oklch(47.2% 0.184 335.7);
Tailwind
colors: {
  custom: {
    50: '#b869a6',
    500: '#951f82',
    950: '#000000',
  },
}
SCSS
$custom: #951f82;
$custom-light: #b869a6;
$custom-dark: #000000;
JSON
{
  "hex": "#951f82",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 309.661,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47235,
    "c": 0.18426,
    "h": 335.7
  },
  "luminance": 0.08981
}

Semantic roles & 50–950 ramp

primary
#951F82
secondary
#51BF63
accent
#E95B3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951F82

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

Preview Lab → · Contrast checker → · Palette generator →

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