#851F8E#851F8E

#851F8E is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.185 H 324.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#851F8E
RGBrgb(133, 31, 142)
HSLhsl(295, 64%, 34%)
HSVhsv(295, 78%, 56%)
CMYKcmyk(6.3%, 78.2%, 0%, 44.3%)
CIE-LABlab(33.82, 55.74, -38.70)
CIE-LCHlch(33.82, 67.86, 325.23°)
OKLaboklab(45.4% 0.1508 -0.1079)
OKLCHoklch(45.4% 0.185 324.4)
XYZxyz(15.0449, 7.9205, 26.3223)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851F8E #288E1F
analogous
#4E1F8E #851F8E #8E1F60
triadic
#851F8E #8E851F #1F8E85
tetradic
#851F8E #8E4E1F #288E1F #1F608E
square
#851F8E #8E4E1F #288E1F #1F608E
split-complementary
#851F8E #608E1F #1F8E4E
monochromatic
#27092A #56145C #851F8E #B42AC0 #CD4FD9

Accessibility & contrast

On white

8.13
#851F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#851F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851F8E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851F8E#FFFFFF#000000##FFFFFF
##851F8E1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#36548B
Tritanopia (blue-blind)
#883456
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #851f8e;
/* rgb */ color: rgb(133, 31, 142);
/* oklch */ color: oklch(45.4% 0.185 324.4);
Tailwind
colors: {
  custom: {
    50: '#ac67af',
    500: '#851f8e',
    950: '#000000',
  },
}
SCSS
$custom: #851f8e;
$custom-light: #ac67af;
$custom-dark: #000000;
JSON
{
  "hex": "#851f8e",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 295.135,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45395,
    "c": 0.18543,
    "h": 324.4
  },
  "luminance": 0.0792
}

Semantic roles & 50–950 ramp

primary
#851F8E
secondary
#56BB4D
accent
#E7414E
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #851F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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