#851B8E#851B8E

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

Color values

HEX#851B8E
RGBrgb(133, 27, 142)
HSLhsl(295, 68%, 33%)
HSVhsv(295, 81%, 56%)
CMYKcmyk(6.3%, 81%, 0%, 44.3%)
CIE-LABlab(33.40, 56.94, -39.36)
CIE-LCHlch(33.40, 69.22, 325.34°)
OKLaboklab(45.1% 0.1541 -0.1098)
OKLCHoklch(45.1% 0.189 324.5)
XYZxyz(14.9469, 7.7244, 26.2896)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851B8E #248E1B
analogous
#4B1B8E #851B8E #8E1B5D
triadic
#851B8E #8E851B #1B8E85
tetradic
#851B8E #8E4B1B #248E1B #1B5D8E
square
#851B8E #8E4B1B #248E1B #1B5D8E
split-complementary
#851B8E #5D8E1B #1B8E4B
monochromatic
#250727 #55115B #851B8E #B525C1 #D047DC

Accessibility & contrast

On white

8.25
#851B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #851B8E
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851B8E#FFFFFF#000000##FFFFFF
##851B8E1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#34538B
Tritanopia (blue-blind)
#883255
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #851b8e;
/* rgb */ color: rgb(133, 27, 142);
/* oklch */ color: oklch(45.1% 0.189 324.5);
Tailwind
colors: {
  custom: {
    50: '#ac66b0',
    500: '#851b8e',
    950: '#000000',
  },
}
SCSS
$custom: #851b8e;
$custom-light: #ac66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#851b8e",
  "rgb": {
    "r": 133,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 295.304,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45101,
    "c": 0.18922,
    "h": 324.5
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#851B8E
secondary
#50BE47
accent
#EB3D4B
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #851B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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