#951A7E#951A7E

#951A7E is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.7% C 0.186 H 337.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#951A7E
RGBrgb(149, 26, 126)
HSLhsl(311, 70%, 34%)
HSVhsv(311, 83%, 58%)
CMYKcmyk(0%, 82.6%, 15.4%, 41.6%)
CIE-LABlab(35.27, 58.08, -26.28)
CIE-LCHlch(35.27, 63.75, 335.65°)
OKLaboklab(46.68% 0.1717 -0.0716)
OKLCHoklch(46.68% 0.186 337.4)
XYZxyz(16.5301, 8.6363, 20.5310)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A7E #1A9531
analogous
#6F1A95 #951A7E #951A40
triadic
#951A7E #7E951A #1A7E95
tetradic
#951A7E #956F1A #1A9531 #1A4095
square
#951A7E #956F1A #1A9531 #1A4095
split-complementary
#951A7E #40951A #1A956F
monochromatic
#2D0826 #611152 #951A7E #C923AA #DF4AC3

Accessibility & contrast

On white

7.70
#951A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#951A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951A7E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A7E#FFFFFF#000000##FFFFFF
##951A7E1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4781
Deuteranopia (green-blind)
#4C597B
Tritanopia (blue-blind)
#9D234C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951a7e;
/* rgb */ color: rgb(149, 26, 126);
/* oklch */ color: oklch(46.7% 0.186 337.4);
Tailwind
colors: {
  custom: {
    50: '#b867a3',
    500: '#951a7e',
    950: '#000000',
  },
}
SCSS
$custom: #951a7e;
$custom-light: #b867a3;
$custom-dark: #000000;
JSON
{
  "hex": "#951a7e",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 311.22,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46683,
    "c": 0.18605,
    "h": 337.4
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

primary
#951A7E
secondary
#4AC160
accent
#ED5C3B
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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