#951B88#951B88

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

Color values

HEX#951B88
RGBrgb(149, 27, 136)
HSLhsl(306, 69%, 35%)
HSVhsv(306, 82%, 58%)
CMYKcmyk(0%, 81.9%, 8.7%, 41.6%)
CIE-LABlab(35.89, 59.30, -31.52)
CIE-LCHlch(35.89, 67.16, 332.01°)
OKLaboklab(47.3% 0.1715 -0.0866)
OKLCHoklch(47.3% 0.192 333.2)
XYZxyz(17.2304, 8.9525, 24.1083)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B88 #1B9528
analogous
#651B95 #951B88 #951B4B
triadic
#951B88 #88951B #1B8895
tetradic
#951B88 #95651B #1B9528 #1B4B95
square
#951B88 #95651B #1B9528 #1B4B95
split-complementary
#951B88 #4B951B #1B9565
monochromatic
#2D0829 #611259 #951B88 #C924B7 #DF4CCF

Accessibility & contrast

On white

7.53
#951B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#951B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B88
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B88#FFFFFF#000000##FFFFFF
##951B881.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951b88;
/* rgb */ color: rgb(149, 27, 136);
/* oklch */ color: oklch(47.3% 0.192 333.2);
Tailwind
colors: {
  custom: {
    50: '#b868ab',
    500: '#951b88',
    950: '#000000',
  },
}
SCSS
$custom: #951b88;
$custom-light: #b868ab;
$custom-dark: #000000;
JSON
{
  "hex": "#951b88",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 306.393,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47297,
    "c": 0.19215,
    "h": 333.2
  },
  "luminance": 0.08951
}

Semantic roles & 50–950 ramp

primary
#951B88
secondary
#4BC158
accent
#EC4E3C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951B88

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

Preview Lab → · Contrast checker → · Palette generator →

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