#851A8B#851A8B

#851A8B is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.188 H 325.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#851A8B
RGBrgb(133, 26, 139)
HSLhsl(297, 68%, 32%)
HSVhsv(297, 81%, 55%)
CMYKcmyk(4.3%, 81.3%, 0%, 45.5%)
CIE-LABlab(33.11, 56.70, -37.97)
CIE-LCHlch(33.11, 68.24, 326.19°)
OKLaboklab(44.84% 0.1551 -0.1058)
OKLCHoklch(44.84% 0.188 325.7)
XYZxyz(14.7021, 7.5904, 25.1118)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851A8B #208B1A
analogous
#4C1A8B #851A8B #8B1A59
triadic
#851A8B #8B851A #1A8B85
tetradic
#851A8B #8B4C1A #208B1A #1A598B
square
#851A8B #8B4C1A #208B1A #1A598B
split-complementary
#851A8B #598B1A #1A8B4C
monochromatic
#220724 #541057 #851A8B #B624BF #D443DC

Accessibility & contrast

On white

8.34
#851A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#851A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851A8B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851A8B#FFFFFF#000000##FFFFFF
##851A8B1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#355288
Tritanopia (blue-blind)
#883053
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #851a8b;
/* rgb */ color: rgb(133, 26, 139);
/* oklch */ color: oklch(44.8% 0.188 325.7);
Tailwind
colors: {
  custom: {
    50: '#ac65ad',
    500: '#851a8b',
    950: '#000000',
  },
}
SCSS
$custom: #851a8b;
$custom-light: #ac65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#851a8b",
  "rgb": {
    "r": 133,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 296.814,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44837,
    "c": 0.18773,
    "h": 325.7
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

primary
#851A8B
secondary
#4ABD44
accent
#EB3C46
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #851A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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