#951B8B#951B8B

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

Color values

HEX#951B8B
RGBrgb(149, 27, 139)
HSLhsl(305, 69%, 35%)
HSVhsv(305, 82%, 58%)
CMYKcmyk(0%, 81.9%, 6.7%, 41.6%)
CIE-LABlab(36.06, 59.77, -33.11)
CIE-LCHlch(36.06, 68.33, 331.01°)
OKLaboklab(47.47% 0.1716 -0.0912)
OKLCHoklch(47.47% 0.194 332)
XYZxyz(17.4466, 9.0390, 25.2469)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B8B #1B9525
analogous
#621B95 #951B8B #951B4E
triadic
#951B8B #8B951B #1B8B95
tetradic
#951B8B #95621B #1B9525 #1B4E95
square
#951B8B #95621B #1B9525 #1B4E95
split-complementary
#951B8B #4E951B #1B9562
monochromatic
#2D082A #61125B #951B8B #C924BB #DF4CD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951B8B#FFFFFF#000000##FFFFFF
##951B8B1.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)
#0E4A8E
Deuteranopia (green-blind)
#465B88
Tritanopia (blue-blind)
#9C2C53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951b8b;
/* rgb */ color: rgb(149, 27, 139);
/* oklch */ color: oklch(47.5% 0.194 332.0);
Tailwind
colors: {
  custom: {
    50: '#b868ad',
    500: '#951b8b',
    950: '#000000',
  },
}
SCSS
$custom: #951b8b;
$custom-light: #b868ad;
$custom-dark: #000000;
JSON
{
  "hex": "#951b8b",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 304.918,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47469,
    "c": 0.1943,
    "h": 332
  },
  "luminance": 0.09038
}

Semantic roles & 50–950 ramp

primary
#951B8B
secondary
#4BC155
accent
#EC4A3C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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