#951B86#951B86

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

Color values

HEX#951B86
RGBrgb(149, 27, 134)
HSLhsl(307, 69%, 35%)
HSVhsv(307, 82%, 58%)
CMYKcmyk(0%, 81.9%, 10.1%, 41.6%)
CIE-LABlab(35.78, 59.00, -30.46)
CIE-LCHlch(35.78, 66.40, 332.70°)
OKLaboklab(47.18% 0.1714 -0.0836)
OKLCHoklch(47.18% 0.191 334)
XYZxyz(17.0896, 8.8962, 23.3667)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B86 #1B952A
analogous
#671B95 #951B86 #951B49
triadic
#951B86 #86951B #1B8695
tetradic
#951B86 #95671B #1B952A #1B4995
square
#951B86 #95671B #1B952A #1B4995
split-complementary
#951B86 #49951B #1B9567
monochromatic
#2D0829 #611257 #951B86 #C924B5 #DF4CCD

Accessibility & contrast

On white

7.56
#951B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951B86
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B86#FFFFFF#000000##FFFFFF
##951B861.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174989
Deuteranopia (green-blind)
#485A83
Tritanopia (blue-blind)
#9C2951
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951b86;
/* rgb */ color: rgb(149, 27, 134);
/* oklch */ color: oklch(47.2% 0.191 334.0);
Tailwind
colors: {
  custom: {
    50: '#b868a9',
    500: '#951b86',
    950: '#000000',
  },
}
SCSS
$custom: #951b86;
$custom-light: #b868a9;
$custom-dark: #000000;
JSON
{
  "hex": "#951b86",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 307.377,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47184,
    "c": 0.19072,
    "h": 334
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#951B86
secondary
#4BC15A
accent
#EC513C
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951B86

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

Preview Lab → · Contrast checker → · Palette generator →

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