#951887#951887

#951887 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.194 H 333.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#951887
RGBrgb(149, 24, 135)
HSLhsl(307, 72%, 34%)
HSVhsv(307, 84%, 58%)
CMYKcmyk(0%, 83.9%, 9.4%, 41.6%)
CIE-LABlab(35.58, 59.89, -31.39)
CIE-LCHlch(35.58, 67.62, 332.34°)
OKLaboklab(47.06% 0.1736 -0.0862)
OKLCHoklch(47.06% 0.194 333.6)
XYZxyz(17.0944, 8.7936, 23.7140)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951887 #189526
analogous
#651895 #951887 #951849
triadic
#951887 #879518 #188795
tetradic
#951887 #956518 #189526 #184995
square
#951887 #956518 #189526 #184995
split-complementary
#951887 #499518 #189565
monochromatic
#2C0727 #601057 #951887 #CA20B7 #E146D0

Accessibility & contrast

On white

7.61
#951887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#951887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951887
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951887#FFFFFF#000000##FFFFFF
##9518871.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11488A
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#9C2751
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951887;
/* rgb */ color: rgb(149, 24, 135);
/* oklch */ color: oklch(47.1% 0.194 333.6);
Tailwind
colors: {
  custom: {
    50: '#b867aa',
    500: '#951887',
    950: '#000000',
  },
}
SCSS
$custom: #951887;
$custom-light: #b867aa;
$custom-dark: #000000;
JSON
{
  "hex": "#951887",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 306.72,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47059,
    "c": 0.19388,
    "h": 333.6
  },
  "luminance": 0.08792
}

Semantic roles & 50–950 ramp

primary
#951887
secondary
#46C254
accent
#EF4D39
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951887

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

Preview Lab → · Contrast checker → · Palette generator →

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