#951A7B#951A7B

#951A7B is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.184 H 338.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#951A7B
RGBrgb(149, 26, 123)
HSLhsl(313, 70%, 34%)
HSVhsv(313, 83%, 58%)
CMYKcmyk(0%, 82.6%, 17.4%, 41.6%)
CIE-LABlab(35.12, 57.66, -24.64)
CIE-LCHlch(35.12, 62.70, 336.86°)
OKLaboklab(46.53% 0.1715 -0.0669)
OKLCHoklch(46.53% 0.184 338.7)
XYZxyz(16.3394, 8.5601, 19.5268)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A7B #1A9534
analogous
#721A95 #951A7B #951A3E
triadic
#951A7B #7B951A #1A7B95
tetradic
#951A7B #95721A #1A9534 #1A3E95
square
#951A7B #95721A #1A9534 #1A3E95
split-complementary
#951A7B #3E951A #1A9572
monochromatic
#2D0825 #611150 #951A7B #C923A6 #DF4AC0

Accessibility & contrast

On white

7.74
#951A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#951A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951A7B
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A7B#FFFFFF#000000##FFFFFF
##951A7B1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477D
Deuteranopia (green-blind)
#4D5978
Tritanopia (blue-blind)
#9E214A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951a7b;
/* rgb */ color: rgb(149, 26, 123);
/* oklch */ color: oklch(46.5% 0.184 338.7);
Tailwind
colors: {
  custom: {
    50: '#b867a1',
    500: '#951a7b',
    950: '#000000',
  },
}
SCSS
$custom: #951a7b;
$custom-light: #b867a1;
$custom-dark: #000000;
JSON
{
  "hex": "#951a7b",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 312.683,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46525,
    "c": 0.18406,
    "h": 338.7
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

primary
#951A7B
secondary
#4AC163
accent
#ED603B
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #951A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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