#951787#951787

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

Color values

HEX#951787
RGBrgb(149, 23, 135)
HSLhsl(307, 73%, 34%)
HSVhsv(307, 85%, 58%)
CMYKcmyk(0%, 84.6%, 9.4%, 41.6%)
CIE-LABlab(35.50, 60.12, -31.52)
CIE-LCHlch(35.50, 67.88, 332.33°)
OKLaboklab(47% 0.1743 -0.0866)
OKLCHoklch(47% 0.195 333.6)
XYZxyz(17.0742, 8.7532, 23.7073)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951787 #179525
analogous
#641795 #951787 #951748
triadic
#951787 #879517 #178795
tetradic
#951787 #956417 #179525 #174895
square
#951787 #956417 #179525 #174895
split-complementary
#951787 #489517 #179564
monochromatic
#2B0727 #600F57 #951787 #CA1FB7 #E244D1

Accessibility & contrast

On white

7.64
#951787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#951787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##951787#FFFFFF#000000##FFFFFF
##9517871.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)
#10488A
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#9C2750
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951787;
/* rgb */ color: rgb(149, 23, 135);
/* oklch */ color: oklch(47.0% 0.195 333.6);
Tailwind
colors: {
  custom: {
    50: '#b867aa',
    500: '#951787',
    950: '#000000',
  },
}
SCSS
$custom: #951787;
$custom-light: #b867aa;
$custom-dark: #000000;
JSON
{
  "hex": "#951787",
  "rgb": {
    "r": 149,
    "g": 23,
    "b": 135
  },
  "hsl": {
    "h": 306.667,
    "s": 73.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.47002,
    "c": 0.19465,
    "h": 333.6
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#951787
secondary
#45C353
accent
#F04C38
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951787

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

Preview Lab → · Contrast checker → · Palette generator →

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