#851478#851478

#851478 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.178 H 333.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#851478
RGBrgb(133, 20, 120)
HSLhsl(307, 74%, 30%)
HSVhsv(307, 85%, 52%)
CMYKcmyk(0%, 85%, 9.8%, 47.8%)
CIE-LABlab(31.45, 55.15, -28.73)
CIE-LCHlch(31.45, 62.18, 332.48°)
OKLaboklab(43.29% 0.1601 -0.0789)
OKLCHoklch(43.29% 0.178 333.8)
XYZxyz(13.3133, 6.8441, 18.3855)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851478 #148521
analogous
#5A1485 #851478 #85143F
triadic
#851478 #788514 #147885
tetradic
#851478 #855A14 #148521 #143F85
square
#851478 #855A14 #148521 #143F85
split-complementary
#851478 #3F8514 #14855A
monochromatic
#1B0418 #500C48 #851478 #BA1CA8 #E033CC

Accessibility & contrast

On white

8.87
#851478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#851478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851478
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851478#FFFFFF#000000##FFFFFF
##8514781.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F407B
Deuteranopia (green-blind)
#3F5075
Tritanopia (blue-blind)
#8C2247
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #851478;
/* rgb */ color: rgb(133, 20, 120);
/* oklch */ color: oklch(43.3% 0.178 333.8);
Tailwind
colors: {
  custom: {
    50: '#ac639f',
    500: '#851478',
    950: '#000000',
  },
}
SCSS
$custom: #851478;
$custom-light: #ac639f;
$custom-dark: #000000;
JSON
{
  "hex": "#851478",
  "rgb": {
    "r": 133,
    "g": 20,
    "b": 120
  },
  "hsl": {
    "h": 306.903,
    "s": 73.856,
    "l": 30
  },
  "oklch": {
    "l": 0.43289,
    "c": 0.17845,
    "h": 333.8
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#851478
secondary
#3BBA4A
accent
#F14D37
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #851478

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

Preview Lab → · Contrast checker → · Palette generator →

#851478 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva