#851F8A#851F8A

#851F8A is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.182 H 326.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#851F8A
RGBrgb(133, 31, 138)
HSLhsl(297, 63%, 33%)
HSVhsv(297, 78%, 54%)
CMYKcmyk(3.6%, 77.5%, 0%, 45.9%)
CIE-LABlab(33.57, 55.04, -36.63)
CIE-LCHlch(33.57, 66.11, 326.36°)
OKLaboklab(45.14% 0.151 -0.1019)
OKLCHoklch(45.14% 0.182 326)
XYZxyz(14.7500, 7.8025, 24.7690)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851F8A #248A1F
analogous
#4F1F8A #851F8A #8A1F59
triadic
#851F8A #8A851F #1F8A85
tetradic
#851F8A #8A4F1F #248A1F #1F598A
square
#851F8A #8A4F1F #248A1F #1F598A
split-complementary
#851F8A #598A1F #1F8A4F
monochromatic
#250926 #551458 #851F8A #B52ABC #D04CD7

Accessibility & contrast

On white

8.20
#851F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#851F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851F8A
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851F8A#FFFFFF#000000##FFFFFF
##851F8A1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#385387
Tritanopia (blue-blind)
#883254
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #851f8a;
/* rgb */ color: rgb(133, 31, 138);
/* oklch */ color: oklch(45.1% 0.182 326.0);
Tailwind
colors: {
  custom: {
    50: '#ac67ad',
    500: '#851f8a',
    950: '#000000',
  },
}
SCSS
$custom: #851f8a;
$custom-light: #ac67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#851f8a",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 297.196,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45139,
    "c": 0.18217,
    "h": 326
  },
  "luminance": 0.07801
}

Semantic roles & 50–950 ramp

primary
#851F8A
secondary
#50BA4B
accent
#E64149
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #851F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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