#951B82#951B82

#951B82 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.188 H 335.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#951B82
RGBrgb(149, 27, 130)
HSLhsl(309, 69%, 35%)
HSVhsv(309, 82%, 58%)
CMYKcmyk(0%, 81.9%, 12.8%, 41.6%)
CIE-LABlab(35.57, 58.41, -28.31)
CIE-LCHlch(35.57, 64.91, 334.14°)
OKLaboklab(46.96% 0.1713 -0.0774)
OKLCHoklch(46.96% 0.188 335.7)
XYZxyz(16.8159, 8.7867, 21.9251)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B82 #1B952E
analogous
#6B1B95 #951B82 #951B45
triadic
#951B82 #82951B #1B8295
tetradic
#951B82 #956B1B #1B952E #1B4595
square
#951B82 #956B1B #1B952E #1B4595
split-complementary
#951B82 #45951B #1B956B
monochromatic
#2D0828 #611255 #951B82 #C924AF #DF4CC8

Accessibility & contrast

On white

7.62
#951B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#951B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B82
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B82#FFFFFF#000000##FFFFFF
##951B821.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4885
Deuteranopia (green-blind)
#4A5A7F
Tritanopia (blue-blind)
#9D264E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951b82;
/* rgb */ color: rgb(149, 27, 130);
/* oklch */ color: oklch(47.0% 0.188 335.7);
Tailwind
colors: {
  custom: {
    50: '#b868a6',
    500: '#951b82',
    950: '#000000',
  },
}
SCSS
$custom: #951b82;
$custom-light: #b868a6;
$custom-dark: #000000;
JSON
{
  "hex": "#951b82",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 309.344,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46962,
    "c": 0.18793,
    "h": 335.7
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#951B82
secondary
#4BC15D
accent
#EC573C
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951B82

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

Preview Lab → · Contrast checker → · Palette generator →

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