#951A88#951A88

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

Color values

HEX#951A88
RGBrgb(149, 26, 136)
HSLhsl(306, 70%, 34%)
HSVhsv(306, 83%, 58%)
CMYKcmyk(0%, 82.6%, 8.7%, 41.6%)
CIE-LABlab(35.81, 59.56, -31.66)
CIE-LCHlch(35.81, 67.45, 332.00°)
OKLaboklab(47.24% 0.1722 -0.087)
OKLCHoklch(47.24% 0.193 333.2)
XYZxyz(17.2079, 8.9074, 24.1008)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A88 #1A9527
analogous
#641A95 #951A88 #951A4B
triadic
#951A88 #88951A #1A8895
tetradic
#951A88 #95641A #1A9527 #1A4B95
square
#951A88 #95641A #1A9527 #1A4B95
split-complementary
#951A88 #4B951A #1A9564
monochromatic
#2D0829 #611158 #951A88 #C923B8 #DF4AD0

Accessibility & contrast

On white

7.55
#951A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951A88
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A88#FFFFFF#000000##FFFFFF
##951A881.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951a88;
/* rgb */ color: rgb(149, 26, 136);
/* oklch */ color: oklch(47.2% 0.193 333.2);
Tailwind
colors: {
  custom: {
    50: '#b868ab',
    500: '#951a88',
    950: '#000000',
  },
}
SCSS
$custom: #951a88;
$custom-light: #b868ab;
$custom-dark: #000000;
JSON
{
  "hex": "#951a88",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 306.341,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47235,
    "c": 0.19298,
    "h": 333.2
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#951A88
secondary
#4AC156
accent
#ED4E3B
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951A88

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

Preview Lab → · Contrast checker → · Palette generator →

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