#951B8A#951B8A

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

Color values

HEX#951B8A
RGBrgb(149, 27, 138)
HSLhsl(305, 69%, 35%)
HSVhsv(305, 82%, 58%)
CMYKcmyk(0%, 81.9%, 7.4%, 41.6%)
CIE-LABlab(36.00, 59.61, -32.58)
CIE-LCHlch(36.00, 67.94, 331.34°)
OKLaboklab(47.41% 0.1715 -0.0897)
OKLCHoklch(47.41% 0.194 332.4)
XYZxyz(17.3739, 9.0099, 24.8639)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B8A #1B9526
analogous
#631B95 #951B8A #951B4D
triadic
#951B8A #8A951B #1B8A95
tetradic
#951B8A #95631B #1B9526 #1B4D95
square
#951B8A #95631B #1B9526 #1B4D95
split-complementary
#951B8A #4D951B #1B9563
monochromatic
#2D082A #61125A #951B8A #C924BA #DF4CD1

Accessibility & contrast

On white

7.50
#951B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#951B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B8A
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B8A#FFFFFF#000000##FFFFFF
##951B8A1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104A8D
Deuteranopia (green-blind)
#465B87
Tritanopia (blue-blind)
#9C2B53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951b8a;
/* rgb */ color: rgb(149, 27, 138);
/* oklch */ color: oklch(47.4% 0.194 332.4);
Tailwind
colors: {
  custom: {
    50: '#b868ac',
    500: '#951b8a',
    950: '#000000',
  },
}
SCSS
$custom: #951b8a;
$custom-light: #b868ac;
$custom-dark: #000000;
JSON
{
  "hex": "#951b8a",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 305.41,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47412,
    "c": 0.19358,
    "h": 332.4
  },
  "luminance": 0.09008
}

Semantic roles & 50–950 ramp

primary
#951B8A
secondary
#4BC156
accent
#EC4C3C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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