#951D88#951D88

#951D88 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.190 H 333.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#951D88
RGBrgb(149, 29, 136)
HSLhsl(307, 67%, 35%)
HSVhsv(307, 81%, 58%)
CMYKcmyk(0%, 80.5%, 8.7%, 41.6%)
CIE-LABlab(36.08, 58.78, -31.24)
CIE-LCHlch(36.08, 66.56, 332.01°)
OKLaboklab(47.43% 0.17 -0.0858)
OKLCHoklch(47.43% 0.19 333.2)
XYZxyz(17.2779, 9.0474, 24.1241)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D88 #1D952A
analogous
#661D95 #951D88 #951D4C
triadic
#951D88 #88951D #1D8895
tetradic
#951D88 #95661D #1D952A #1D4C95
square
#951D88 #95661D #1D952A #1D4C95
split-complementary
#951D88 #4C951D #1D9566
monochromatic
#2F092A #621359 #951D88 #C827B7 #DD50CE

Accessibility & contrast

On white

7.48
#951D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#951D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951D88
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951D88#FFFFFF#000000##FFFFFF
##951D881.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164A8B
Deuteranopia (green-blind)
#485B85
Tritanopia (blue-blind)
#9C2B52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951d88;
/* rgb */ color: rgb(149, 29, 136);
/* oklch */ color: oklch(47.4% 0.190 333.2);
Tailwind
colors: {
  custom: {
    50: '#b869ab',
    500: '#951d88',
    950: '#000000',
  },
}
SCSS
$custom: #951d88;
$custom-light: #b869ab;
$custom-dark: #000000;
JSON
{
  "hex": "#951d88",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 306.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.19039,
    "h": 333.2
  },
  "luminance": 0.09046
}

Semantic roles & 50–950 ramp

primary
#951D88
secondary
#4EC05B
accent
#EA503D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951D88

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

Preview Lab → · Contrast checker → · Palette generator →

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