#951A87#951A87

#951A87 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.192 H 333.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#951A87
RGBrgb(149, 26, 135)
HSLhsl(307, 70%, 34%)
HSVhsv(307, 83%, 58%)
CMYKcmyk(0%, 82.6%, 9.4%, 41.6%)
CIE-LABlab(35.75, 59.41, -31.13)
CIE-LCHlch(35.75, 67.07, 332.34°)
OKLaboklab(47.18% 0.1722 -0.0855)
OKLCHoklch(47.18% 0.192 333.6)
XYZxyz(17.1372, 8.8792, 23.7283)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A87 #1A9528
analogous
#661A95 #951A87 #951A4A
triadic
#951A87 #87951A #1A8795
tetradic
#951A87 #95661A #1A9528 #1A4A95
square
#951A87 #95661A #1A9528 #1A4A95
split-complementary
#951A87 #4A951A #1A9566
monochromatic
#2D0829 #611158 #951A87 #C923B6 #DF4ACE

Accessibility & contrast

On white

7.57
#951A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#951A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951A87
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A87#FFFFFF#000000##FFFFFF
##951A871.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14498A
Deuteranopia (green-blind)
#485A84
Tritanopia (blue-blind)
#9C2951
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951a87;
/* rgb */ color: rgb(149, 26, 135);
/* oklch */ color: oklch(47.2% 0.192 333.6);
Tailwind
colors: {
  custom: {
    50: '#b868aa',
    500: '#951a87',
    950: '#000000',
  },
}
SCSS
$custom: #951a87;
$custom-light: #b868aa;
$custom-dark: #000000;
JSON
{
  "hex": "#951a87",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 306.829,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47178,
    "c": 0.19228,
    "h": 333.6
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

primary
#951A87
secondary
#4AC157
accent
#ED4F3B
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951A87

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

Preview Lab → · Contrast checker → · Palette generator →

#951A87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva