#951982#951982

#951982 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.190 H 335.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#951982
RGBrgb(149, 25, 130)
HSLhsl(309, 71%, 34%)
HSVhsv(309, 83%, 58%)
CMYKcmyk(0%, 83.2%, 12.8%, 41.6%)
CIE-LABlab(35.40, 58.91, -28.59)
CIE-LCHlch(35.40, 65.48, 334.12°)
OKLaboklab(46.84% 0.1727 -0.0782)
OKLCHoklch(46.84% 0.19 335.7)
XYZxyz(16.7716, 8.6981, 21.9104)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951982 #19952C
analogous
#6A1995 #951982 #951944
triadic
#951982 #829519 #198295
tetradic
#951982 #956A19 #19952C #194495
square
#951982 #956A19 #19952C #194495
split-complementary
#951982 #449519 #19956A
monochromatic
#2C0727 #611054 #951982 #C922B0 #E048C9

Accessibility & contrast

On white

7.67
#951982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#951982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951982
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951982#FFFFFF#000000##FFFFFF
##9519821.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951982;
/* rgb */ color: rgb(149, 25, 130);
/* oklch */ color: oklch(46.8% 0.190 335.7);
Tailwind
colors: {
  custom: {
    50: '#b867a6',
    500: '#951982',
    950: '#000000',
  },
}
SCSS
$custom: #951982;
$custom-light: #b867a6;
$custom-dark: #000000;
JSON
{
  "hex": "#951982",
  "rgb": {
    "r": 149,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 309.194,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.18961,
    "h": 335.7
  },
  "luminance": 0.08697
}

Semantic roles & 50–950 ramp

primary
#951982
secondary
#48C25B
accent
#EE553A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951982

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

Preview Lab → · Contrast checker → · Palette generator →

#951982 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva