#951A78#951A78

#951A78 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.4% C 0.182 H 340.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#951A78
RGBrgb(149, 26, 120)
HSLhsl(314, 70%, 34%)
HSVhsv(314, 83%, 58%)
CMYKcmyk(0%, 82.6%, 19.5%, 41.6%)
CIE-LABlab(34.98, 57.24, -22.99)
CIE-LCHlch(34.98, 61.69, 338.12°)
OKLaboklab(46.37% 0.1712 -0.0622)
OKLCHoklch(46.37% 0.182 340)
XYZxyz(16.1545, 8.4861, 18.5529)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A78 #1A9537
analogous
#751A95 #951A78 #951A3B
triadic
#951A78 #78951A #1A7895
tetradic
#951A78 #95751A #1A9537 #1A3B95
square
#951A78 #95751A #1A9537 #1A3B95
split-complementary
#951A78 #3B951A #1A9575
monochromatic
#2D0824 #61114E #951A78 #C923A2 #DF4ABC

Accessibility & contrast

On white

7.79
#951A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#951A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951A78
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A78#FFFFFF#000000##FFFFFF
##951A781.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#4E5975
Tritanopia (blue-blind)
#9E1F48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951a78;
/* rgb */ color: rgb(149, 26, 120);
/* oklch */ color: oklch(46.4% 0.182 340.0);
Tailwind
colors: {
  custom: {
    50: '#b8679f',
    500: '#951a78',
    950: '#000000',
  },
}
SCSS
$custom: #951a78;
$custom-light: #b8679f;
$custom-dark: #000000;
JSON
{
  "hex": "#951a78",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 314.146,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46371,
    "c": 0.18209,
    "h": 340
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#951A78
secondary
#4AC166
accent
#ED653B
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951A78

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

Preview Lab → · Contrast checker → · Palette generator →

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