#951C83#951C83

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

Color values

HEX#951C83
RGBrgb(149, 28, 131)
HSLhsl(309, 68%, 35%)
HSVhsv(309, 81%, 58%)
CMYKcmyk(0%, 81.2%, 12.1%, 41.6%)
CIE-LABlab(35.71, 58.29, -28.71)
CIE-LCHlch(35.71, 64.98, 333.78°)
OKLaboklab(47.08% 0.1705 -0.0785)
OKLCHoklch(47.08% 0.188 335.3)
XYZxyz(16.9067, 8.8603, 22.2881)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C83 #1C952E
analogous
#6B1C95 #951C83 #951C46
triadic
#951C83 #83951C #1C8395
tetradic
#951C83 #956B1C #1C952E #1C4695
square
#951C83 #956B1C #1C952E #1C4695
split-complementary
#951C83 #46951C #1C956B
monochromatic
#2E0928 #611256 #951C83 #C926B0 #DE4EC8

Accessibility & contrast

On white

7.58
#951C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951C83
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C83#FFFFFF#000000##FFFFFF
##951C831.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951c83;
/* rgb */ color: rgb(149, 28, 131);
/* oklch */ color: oklch(47.1% 0.188 335.3);
Tailwind
colors: {
  custom: {
    50: '#b868a7',
    500: '#951c83',
    950: '#000000',
  },
}
SCSS
$custom: #951c83;
$custom-light: #b868a7;
$custom-dark: #000000;
JSON
{
  "hex": "#951c83",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 308.926,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47082,
    "c": 0.18774,
    "h": 335.3
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#951C83
secondary
#4DC05E
accent
#EB573D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951C83

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

Preview Lab → · Contrast checker → · Palette generator →

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