#851A8F#851A8F

#851A8F is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.191 H 324.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#851A8F
RGBrgb(133, 26, 143)
HSLhsl(295, 69%, 33%)
HSVhsv(295, 82%, 56%)
CMYKcmyk(7%, 81.8%, 0%, 43.9%)
CIE-LABlab(33.37, 57.40, -40.03)
CIE-LCHlch(33.37, 69.98, 325.11°)
OKLaboklab(45.1% 0.1548 -0.1118)
OKLCHoklch(45.1% 0.191 324.2)
XYZxyz(14.9998, 7.7095, 26.6793)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851A8F #248F1A
analogous
#4A1A8F #851A8F #8F1A5E
triadic
#851A8F #8F851A #1A8F85
tetradic
#851A8F #8F4A1A #248F1A #1A5E8F
square
#851A8F #8F4A1A #248F1A #1A5E8F
split-complementary
#851A8F #5E8F1A #1A8F4A
monochromatic
#250727 #55115B #851A8F #B523C3 #D046DD

Accessibility & contrast

On white

8.26
#851A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#851A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851A8F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851A8F#FFFFFF#000000##FFFFFF
##851A8F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#32538C
Tritanopia (blue-blind)
#883255
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #851a8f;
/* rgb */ color: rgb(133, 26, 143);
/* oklch */ color: oklch(45.1% 0.191 324.2);
Tailwind
colors: {
  custom: {
    50: '#ac66b0',
    500: '#851a8f',
    950: '#000000',
  },
}
SCSS
$custom: #851a8f;
$custom-light: #ac66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#851a8f",
  "rgb": {
    "r": 133,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 294.872,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.451,
    "c": 0.19091,
    "h": 324.2
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#851A8F
secondary
#50BF46
accent
#EC3C4B
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #851A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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