#951B85#951B85

#951B85 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.190 H 334.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#951B85
RGBrgb(149, 27, 133)
HSLhsl(308, 69%, 35%)
HSVhsv(308, 82%, 58%)
CMYKcmyk(0%, 81.9%, 10.7%, 41.6%)
CIE-LABlab(35.73, 58.85, -29.92)
CIE-LCHlch(35.73, 66.02, 333.05°)
OKLaboklab(47.13% 0.1714 -0.082)
OKLCHoklch(47.13% 0.19 334.4)
XYZxyz(17.0202, 8.8684, 23.0011)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B85 #1B952B
analogous
#681B95 #951B85 #951B48
triadic
#951B85 #85951B #1B8595
tetradic
#951B85 #95681B #1B952B #1B4895
square
#951B85 #95681B #1B952B #1B4895
split-complementary
#951B85 #48951B #1B9568
monochromatic
#2D0829 #611257 #951B85 #C924B3 #DF4CCB

Accessibility & contrast

On white

7.57
#951B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#951B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B85
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B85#FFFFFF#000000##FFFFFF
##951B851.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184988
Deuteranopia (green-blind)
#495A82
Tritanopia (blue-blind)
#9C2850
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951b85;
/* rgb */ color: rgb(149, 27, 133);
/* oklch */ color: oklch(47.1% 0.190 334.4);
Tailwind
colors: {
  custom: {
    50: '#b868a9',
    500: '#951b85',
    950: '#000000',
  },
}
SCSS
$custom: #951b85;
$custom-light: #b868a9;
$custom-dark: #000000;
JSON
{
  "hex": "#951b85",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 307.869,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47128,
    "c": 0.19003,
    "h": 334.4
  },
  "luminance": 0.08867
}

Semantic roles & 50–950 ramp

primary
#951B85
secondary
#4BC15B
accent
#EC533C
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951B85

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

Preview Lab → · Contrast checker → · Palette generator →

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