#951A81#951A81

#951A81 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.188 H 336.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#951A81
RGBrgb(149, 26, 129)
HSLhsl(310, 70%, 34%)
HSVhsv(310, 83%, 58%)
CMYKcmyk(0%, 82.6%, 13.4%, 41.6%)
CIE-LABlab(35.43, 58.52, -27.91)
CIE-LCHlch(35.43, 64.83, 334.50°)
OKLaboklab(46.84% 0.172 -0.0762)
OKLCHoklch(46.84% 0.188 336.1)
XYZxyz(16.7266, 8.7149, 21.5659)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A81 #1A952E
analogous
#6C1A95 #951A81 #951A44
triadic
#951A81 #81951A #1A8195
tetradic
#951A81 #956C1A #1A952E #1A4495
square
#951A81 #956C1A #1A952E #1A4495
split-complementary
#951A81 #44951A #1A956C
monochromatic
#2D0827 #611154 #951A81 #C923AE #DF4AC7

Accessibility & contrast

On white

7.66
#951A81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#951A81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951A81
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A81#FFFFFF#000000##FFFFFF
##951A811.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4884
Deuteranopia (green-blind)
#4A5A7E
Tritanopia (blue-blind)
#9D254E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951a81;
/* rgb */ color: rgb(149, 26, 129);
/* oklch */ color: oklch(46.8% 0.188 336.1);
Tailwind
colors: {
  custom: {
    50: '#b867a6',
    500: '#951a81',
    950: '#000000',
  },
}
SCSS
$custom: #951a81;
$custom-light: #b867a6;
$custom-dark: #000000;
JSON
{
  "hex": "#951a81",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 129
  },
  "hsl": {
    "h": 309.756,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46844,
    "c": 0.1881,
    "h": 336.1
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#951A81
secondary
#4AC15D
accent
#ED583B
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951A81

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

Preview Lab → · Contrast checker → · Palette generator →

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