#951788#951788

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

Color values

HEX#951788
RGBrgb(149, 23, 136)
HSLhsl(306, 73%, 34%)
HSVhsv(306, 85%, 58%)
CMYKcmyk(0%, 84.6%, 8.7%, 41.6%)
CIE-LABlab(35.56, 60.27, -32.05)
CIE-LCHlch(35.56, 68.26, 332.00°)
OKLaboklab(47.06% 0.1743 -0.0881)
OKLCHoklch(47.06% 0.195 333.2)
XYZxyz(17.1449, 8.7815, 24.0798)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951788 #179524
analogous
#631795 #951788 #951749
triadic
#951788 #889517 #178895
tetradic
#951788 #956317 #179524 #174995
square
#951788 #956317 #179524 #174995
split-complementary
#951788 #499517 #179563
monochromatic
#2B0727 #600F58 #951788 #CA1FB8 #E244D2

Accessibility & contrast

On white

7.62
#951788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951788
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951788#FFFFFF#000000##FFFFFF
##9517881.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E488B
Deuteranopia (green-blind)
#465A85
Tritanopia (blue-blind)
#9C2751
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951788;
/* rgb */ color: rgb(149, 23, 136);
/* oklch */ color: oklch(47.1% 0.195 333.2);
Tailwind
colors: {
  custom: {
    50: '#b867ab',
    500: '#951788',
    950: '#000000',
  },
}
SCSS
$custom: #951788;
$custom-light: #b867ab;
$custom-dark: #000000;
JSON
{
  "hex": "#951788",
  "rgb": {
    "r": 149,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 306.19,
    "s": 73.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4706,
    "c": 0.19534,
    "h": 333.2
  },
  "luminance": 0.0878
}

Semantic roles & 50–950 ramp

primary
#951788
secondary
#45C352
accent
#F04B38
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951788

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

Preview Lab → · Contrast checker → · Palette generator →

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