#951881#951881

#951881 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.190 H 336.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#951881
RGBrgb(149, 24, 129)
HSLhsl(310, 72%, 34%)
HSVhsv(310, 84%, 58%)
CMYKcmyk(0%, 83.9%, 13.4%, 41.6%)
CIE-LABlab(35.26, 59.00, -28.18)
CIE-LCHlch(35.26, 65.39, 334.47°)
OKLaboklab(46.72% 0.1734 -0.077)
OKLCHoklch(46.72% 0.19 336.1)
XYZxyz(16.6838, 8.6294, 21.5516)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951881 #18952C
analogous
#6B1895 #951881 #951843
triadic
#951881 #819518 #188195
tetradic
#951881 #956B18 #18952C #184395
square
#951881 #956B18 #18952C #184395
split-complementary
#951881 #439518 #18956B
monochromatic
#2C0726 #601053 #951881 #CA20AF #E146C8

Accessibility & contrast

On white

7.70
#951881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951881
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951881#FFFFFF#000000##FFFFFF
##9518811.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4784
Deuteranopia (green-blind)
#4A597E
Tritanopia (blue-blind)
#9D244D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951881;
/* rgb */ color: rgb(149, 24, 129);
/* oklch */ color: oklch(46.7% 0.190 336.1);
Tailwind
colors: {
  custom: {
    50: '#b867a6',
    500: '#951881',
    950: '#000000',
  },
}
SCSS
$custom: #951881;
$custom-light: #b867a6;
$custom-dark: #000000;
JSON
{
  "hex": "#951881",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 309.6,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46723,
    "c": 0.18973,
    "h": 336.1
  },
  "luminance": 0.08628
}

Semantic roles & 50–950 ramp

primary
#951881
secondary
#46C25A
accent
#EF5639
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951881

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

Preview Lab → · Contrast checker → · Palette generator →

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