#851F89#851F89

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

Color values

HEX#851F89
RGBrgb(133, 31, 137)
HSLhsl(298, 63%, 33%)
HSVhsv(298, 77%, 54%)
CMYKcmyk(2.9%, 77.4%, 0%, 46.3%)
CIE-LABlab(33.51, 54.86, -36.11)
CIE-LCHlch(33.51, 65.68, 326.65°)
OKLaboklab(45.08% 0.1511 -0.1004)
OKLCHoklch(45.08% 0.181 326.4)
XYZxyz(14.6779, 7.7737, 24.3894)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851F89 #23891F
analogous
#501F89 #851F89 #891F58
triadic
#851F89 #89851F #1F8985
tetradic
#851F89 #89501F #23891F #1F5889
square
#851F89 #89501F #23891F #1F5889
split-complementary
#851F89 #58891F #1F8950
monochromatic
#240825 #551457 #851F89 #B52ABB #D14CD6

Accessibility & contrast

On white

8.22
#851F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#851F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851F89
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851F89#FFFFFF#000000##FFFFFF
##851F891.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#395386
Tritanopia (blue-blind)
#893153
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #851f89;
/* rgb */ color: rgb(133, 31, 137);
/* oklch */ color: oklch(45.1% 0.181 326.4);
Tailwind
colors: {
  custom: {
    50: '#ac67ac',
    500: '#851f89',
    950: '#000000',
  },
}
SCSS
$custom: #851f89;
$custom-light: #ac67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#851f89",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 297.736,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45076,
    "c": 0.18137,
    "h": 326.4
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

primary
#851F89
secondary
#4FB94B
accent
#E64248
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #851F89

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

Preview Lab → · Contrast checker → · Palette generator →

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