#951A82#951A82

#951A82 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.189 H 335.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#951A82
RGBrgb(149, 26, 130)
HSLhsl(309, 70%, 34%)
HSVhsv(309, 83%, 58%)
CMYKcmyk(0%, 82.6%, 12.8%, 41.6%)
CIE-LABlab(35.48, 58.66, -28.45)
CIE-LCHlch(35.48, 65.20, 334.13°)
OKLaboklab(46.9% 0.172 -0.0778)
OKLCHoklch(46.9% 0.189 335.7)
XYZxyz(16.7934, 8.7416, 21.9176)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A82 #1A952D
analogous
#6B1A95 #951A82 #951A45
triadic
#951A82 #82951A #1A8295
tetradic
#951A82 #956B1A #1A952D #1A4595
square
#951A82 #956B1A #1A952D #1A4595
split-complementary
#951A82 #45951A #1A956B
monochromatic
#2D0827 #611155 #951A82 #C923AF #DF4AC8

Accessibility & contrast

On white

7.64
#951A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#951A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951A82
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A82#FFFFFF#000000##FFFFFF
##951A821.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4885
Deuteranopia (green-blind)
#4A5A7F
Tritanopia (blue-blind)
#9D264E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951a82;
/* rgb */ color: rgb(149, 26, 130);
/* oklch */ color: oklch(46.9% 0.189 335.7);
Tailwind
colors: {
  custom: {
    50: '#b868a6',
    500: '#951a82',
    950: '#000000',
  },
}
SCSS
$custom: #951a82;
$custom-light: #b868a6;
$custom-dark: #000000;
JSON
{
  "hex": "#951a82",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 309.268,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46899,
    "c": 0.18879,
    "h": 335.7
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#951A82
secondary
#4AC15C
accent
#ED563B
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951A82

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

Preview Lab → · Contrast checker → · Palette generator →

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