#951B83#951B83

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

Color values

HEX#951B83
RGBrgb(149, 27, 131)
HSLhsl(309, 69%, 35%)
HSVhsv(309, 82%, 58%)
CMYKcmyk(0%, 81.9%, 12.1%, 41.6%)
CIE-LABlab(35.62, 58.55, -28.85)
CIE-LCHlch(35.62, 65.28, 333.77°)
OKLaboklab(47.02% 0.1713 -0.0789)
OKLCHoklch(47.02% 0.189 335.3)
XYZxyz(16.8833, 8.8137, 22.2804)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B83 #1B952D
analogous
#6A1B95 #951B83 #951B46
triadic
#951B83 #83951B #1B8395
tetradic
#951B83 #956A1B #1B952D #1B4695
square
#951B83 #956A1B #1B952D #1B4695
split-complementary
#951B83 #46951B #1B956A
monochromatic
#2D0828 #611255 #951B83 #C924B1 #DF4CC9

Accessibility & contrast

On white

7.60
#951B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951B83
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B83#FFFFFF#000000##FFFFFF
##951B831.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4886
Deuteranopia (green-blind)
#4A5A80
Tritanopia (blue-blind)
#9D274F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951b83;
/* rgb */ color: rgb(149, 27, 131);
/* oklch */ color: oklch(47.0% 0.189 335.3);
Tailwind
colors: {
  custom: {
    50: '#b868a7',
    500: '#951b83',
    950: '#000000',
  },
}
SCSS
$custom: #951b83;
$custom-light: #b868a7;
$custom-dark: #000000;
JSON
{
  "hex": "#951b83",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 308.852,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47017,
    "c": 0.18862,
    "h": 335.3
  },
  "luminance": 0.08812
}

Semantic roles & 50–950 ramp

primary
#951B83
secondary
#4BC15C
accent
#EC563C
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951B83

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

Preview Lab → · Contrast checker → · Palette generator →

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