#851B8F#851B8F

#851B8F is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.190 H 324.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#851B8F
RGBrgb(133, 27, 143)
HSLhsl(295, 68%, 33%)
HSVhsv(295, 81%, 56%)
CMYKcmyk(7%, 81.1%, 0%, 43.9%)
CIE-LABlab(33.47, 57.12, -39.88)
CIE-LCHlch(33.47, 69.66, 325.08°)
OKLaboklab(45.17% 0.154 -0.1113)
OKLCHoklch(45.17% 0.19 324.1)
XYZxyz(15.0223, 7.7546, 26.6868)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851B8F #258F1B
analogous
#4B1B8F #851B8F #8F1B5F
triadic
#851B8F #8F851B #1B8F85
tetradic
#851B8F #8F4B1B #258F1B #1B5F8F
square
#851B8F #8F4B1B #258F1B #1B5F8F
split-complementary
#851B8F #5F8F1B #1B8F4B
monochromatic
#250828 #55115C #851B8F #B525C2 #D048DC

Accessibility & contrast

On white

8.23
#851B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #851B8F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851B8F#FFFFFF#000000##FFFFFF
##851B8F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#33538C
Tritanopia (blue-blind)
#883256
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #851b8f;
/* rgb */ color: rgb(133, 27, 143);
/* oklch */ color: oklch(45.2% 0.190 324.1);
Tailwind
colors: {
  custom: {
    50: '#ac66b0',
    500: '#851b8f',
    950: '#000000',
  },
}
SCSS
$custom: #851b8f;
$custom-light: #ac66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#851b8f",
  "rgb": {
    "r": 133,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 294.828,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45167,
    "c": 0.19002,
    "h": 324.1
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#851B8F
secondary
#52BE48
accent
#EB3D4C
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #851B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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