#951C7E#951C7E

#951C7E is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.8% C 0.184 H 337.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#951C7E
RGBrgb(149, 28, 126)
HSLhsl(311, 68%, 35%)
HSVhsv(311, 81%, 58%)
CMYKcmyk(0%, 81.2%, 15.4%, 41.6%)
CIE-LABlab(35.46, 57.56, -26.00)
CIE-LCHlch(35.46, 63.16, 335.69°)
OKLaboklab(46.81% 0.1702 -0.0708)
OKLCHoklch(46.81% 0.184 337.4)
XYZxyz(16.5759, 8.7280, 20.5463)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C7E #1C9533
analogous
#701C95 #951C7E #951C41
triadic
#951C7E #7E951C #1C7E95
tetradic
#951C7E #95701C #1C9533 #1C4195
square
#951C7E #95701C #1C9533 #1C4195
split-complementary
#951C7E #41951C #1C9570
monochromatic
#2E0927 #611252 #951C7E #C926AA #DE4EC2

Accessibility & contrast

On white

7.65
#951C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#951C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C7E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C7E#FFFFFF#000000##FFFFFF
##951C7E1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214881
Deuteranopia (green-blind)
#4C5A7B
Tritanopia (blue-blind)
#9D244C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951c7e;
/* rgb */ color: rgb(149, 28, 126);
/* oklch */ color: oklch(46.8% 0.184 337.4);
Tailwind
colors: {
  custom: {
    50: '#b868a3',
    500: '#951c7e',
    950: '#000000',
  },
}
SCSS
$custom: #951c7e;
$custom-light: #b868a3;
$custom-dark: #000000;
JSON
{
  "hex": "#951c7e",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 311.405,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46813,
    "c": 0.18431,
    "h": 337.4
  },
  "luminance": 0.08726
}

Semantic roles & 50–950 ramp

primary
#951C7E
secondary
#4DC063
accent
#EB5E3D
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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