#851FA8#851FA8

#851FA8 is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.2% C 0.207 H 315.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#851FA8
RGBrgb(133, 31, 168)
HSLhsl(285, 69%, 39%)
HSVhsv(285, 82%, 66%)
CMYKcmyk(20.8%, 81.5%, 0%, 34.1%)
CIE-LABlab(35.59, 60.63, -51.66)
CIE-LCHlch(35.59, 79.65, 319.57°)
OKLaboklab(47.21% 0.1472 -0.1459)
OKLCHoklch(47.21% 0.207 315.3)
XYZxyz(17.2296, 8.7943, 37.8281)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851FA8 #42A81F
analogous
#411FA8 #851FA8 #A81F87
triadic
#851FA8 #A8851F #1FA885
tetradic
#851FA8 #A8411F #42A81F #1F87A8
square
#851FA8 #A8411F #42A81F #1F87A8
split-complementary
#851FA8 #87A81F #1FA841
monochromatic
#330C41 #5C1574 #851FA8 #AC2CD8 #C060E2

Accessibility & contrast

On white

7.61
#851FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#851FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851FA8
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851FA8#FFFFFF#000000##FFFFFF
##851FA81.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#1756A5
Tritanopia (blue-blind)
#824165
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #851fa8;
/* rgb */ color: rgb(133, 31, 168);
/* oklch */ color: oklch(47.2% 0.207 315.3);
Tailwind
colors: {
  custom: {
    50: '#ad69c3',
    500: '#851fa8',
    950: '#000000',
  },
}
SCSS
$custom: #851fa8;
$custom-light: #ad69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#851fa8",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 284.672,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47205,
    "c": 0.20728,
    "h": 315.3
  },
  "luminance": 0.08794
}

Semantic roles & 50–950 ramp

primary
#851FA8
secondary
#78C65D
accent
#EC3C69
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #851FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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