#851A7F#851A7F

#851A7F is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.178 H 330.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#851A7F
RGBrgb(133, 26, 127)
HSLhsl(303, 67%, 31%)
HSVhsv(303, 80%, 52%)
CMYKcmyk(0%, 80.5%, 4.5%, 47.8%)
CIE-LABlab(32.39, 54.68, -31.65)
CIE-LCHlch(32.39, 63.19, 329.94°)
OKLaboklab(44.09% 0.1556 -0.0874)
OKLCHoklch(44.09% 0.178 330.7)
XYZxyz(13.8730, 7.2588, 20.7450)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851A7F #1A8520
analogous
#551A85 #851A7F #851A49
triadic
#851A7F #7F851A #1A7F85
tetradic
#851A7F #85551A #1A8520 #1A4985
square
#851A7F #85551A #1A8520 #1A4985
split-complementary
#851A7F #49851A #1A8555
monochromatic
#1F061D #52104E #851A7F #B824B0 #DA40D1

Accessibility & contrast

On white

8.57
#851A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#851A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851A7F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851A7F#FFFFFF#000000##FFFFFF
##851A7F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4382
Deuteranopia (green-blind)
#3D517C
Tritanopia (blue-blind)
#8A294C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #851a7f;
/* rgb */ color: rgb(133, 26, 127);
/* oklch */ color: oklch(44.1% 0.178 330.7);
Tailwind
colors: {
  custom: {
    50: '#ac65a4',
    500: '#851a7f',
    950: '#000000',
  },
}
SCSS
$custom: #851a7f;
$custom-light: #ac65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#851a7f",
  "rgb": {
    "r": 133,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 303.364,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44087,
    "c": 0.17844,
    "h": 330.7
  },
  "luminance": 0.07258
}

Semantic roles & 50–950 ramp

primary
#851A7F
secondary
#42B849
accent
#EA473E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #851A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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