#951988#951988

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

Color values

HEX#951988
RGBrgb(149, 25, 136)
HSLhsl(306, 71%, 34%)
HSVhsv(306, 83%, 58%)
CMYKcmyk(0%, 83.2%, 8.7%, 41.6%)
CIE-LABlab(35.72, 59.80, -31.80)
CIE-LCHlch(35.72, 67.73, 332.00°)
OKLaboklab(47.17% 0.173 -0.0874)
OKLCHoklch(47.17% 0.194 333.2)
XYZxyz(17.1861, 8.8639, 24.0936)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951988 #199526
analogous
#641995 #951988 #95194A
triadic
#951988 #889519 #198895
tetradic
#951988 #956419 #199526 #194A95
square
#951988 #956419 #199526 #194A95
split-complementary
#951988 #4A9519 #199564
monochromatic
#2C0728 #611058 #951988 #C922B8 #E048D0

Accessibility & contrast

On white

7.57
#951988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#951988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##951988#FFFFFF#000000##FFFFFF
##9519881.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498B
Deuteranopia (green-blind)
#475A85
Tritanopia (blue-blind)
#9C2951
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951988;
/* rgb */ color: rgb(149, 25, 136);
/* oklch */ color: oklch(47.2% 0.194 333.2);
Tailwind
colors: {
  custom: {
    50: '#b867ab',
    500: '#951988',
    950: '#000000',
  },
}
SCSS
$custom: #951988;
$custom-light: #b867ab;
$custom-dark: #000000;
JSON
{
  "hex": "#951988",
  "rgb": {
    "r": 149,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 306.29,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.47174,
    "c": 0.1938,
    "h": 333.2
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#951988
secondary
#48C255
accent
#EE4D3A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951988

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

Preview Lab → · Contrast checker → · Palette generator →

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