#951A7F#951A7F

#951A7F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.187 H 336.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#951A7F
RGBrgb(149, 26, 127)
HSLhsl(311, 70%, 34%)
HSVhsv(311, 83%, 58%)
CMYKcmyk(0%, 82.6%, 14.8%, 41.6%)
CIE-LABlab(35.33, 58.23, -26.83)
CIE-LCHlch(35.33, 64.11, 335.26°)
OKLaboklab(46.74% 0.1718 -0.0731)
OKLCHoklch(46.74% 0.187 336.9)
XYZxyz(16.5949, 8.6623, 20.8726)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A7F #1A9530
analogous
#6E1A95 #951A7F #951A41
triadic
#951A7F #7F951A #1A7F95
tetradic
#951A7F #956E1A #1A9530 #1A4195
square
#951A7F #956E1A #1A9530 #1A4195
split-complementary
#951A7F #41951A #1A956E
monochromatic
#2D0826 #611153 #951A7F #C923AB #DF4AC5

Accessibility & contrast

On white

7.69
#951A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951A7F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A7F#FFFFFF#000000##FFFFFF
##951A7F1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4782
Deuteranopia (green-blind)
#4B5A7C
Tritanopia (blue-blind)
#9D244C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951a7f;
/* rgb */ color: rgb(149, 26, 127);
/* oklch */ color: oklch(46.7% 0.187 336.9);
Tailwind
colors: {
  custom: {
    50: '#b867a4',
    500: '#951a7f',
    950: '#000000',
  },
}
SCSS
$custom: #951a7f;
$custom-light: #b867a4;
$custom-dark: #000000;
JSON
{
  "hex": "#951a7f",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 310.732,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46736,
    "c": 0.18673,
    "h": 336.9
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#951A7F
secondary
#4AC15F
accent
#ED5B3B
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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