#951882#951882

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

Color values

HEX#951882
RGBrgb(149, 24, 130)
HSLhsl(309, 72%, 34%)
HSVhsv(309, 84%, 58%)
CMYKcmyk(0%, 83.9%, 12.8%, 41.6%)
CIE-LABlab(35.31, 59.15, -28.72)
CIE-LCHlch(35.31, 65.75, 334.10°)
OKLaboklab(46.78% 0.1735 -0.0785)
OKLCHoklch(46.78% 0.19 335.6)
XYZxyz(16.7506, 8.6561, 21.9034)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951882 #18952B
analogous
#6A1895 #951882 #951844
triadic
#951882 #829518 #188295
tetradic
#951882 #956A18 #18952B #184495
square
#951882 #956A18 #18952B #184495
split-complementary
#951882 #449518 #18956A
monochromatic
#2C0726 #601054 #951882 #CA20B0 #E146CA

Accessibility & contrast

On white

7.69
#951882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#951882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951882
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951882#FFFFFF#000000##FFFFFF
##9518821.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194785
Deuteranopia (green-blind)
#49597F
Tritanopia (blue-blind)
#9D244E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951882;
/* rgb */ color: rgb(149, 24, 130);
/* oklch */ color: oklch(46.8% 0.190 335.6);
Tailwind
colors: {
  custom: {
    50: '#b867a6',
    500: '#951882',
    950: '#000000',
  },
}
SCSS
$custom: #951882;
$custom-light: #b867a6;
$custom-dark: #000000;
JSON
{
  "hex": "#951882",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 309.12,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46778,
    "c": 0.19042,
    "h": 335.6
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#951882
secondary
#46C259
accent
#EF5539
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951882

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

Preview Lab → · Contrast checker → · Palette generator →

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