#851FA7#851FA7

#851FA7 is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.1% C 0.206 H 315.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#851FA7
RGBrgb(133, 31, 167)
HSLhsl(285, 69%, 39%)
HSVhsv(285, 81%, 65%)
CMYKcmyk(20.4%, 81.4%, 0%, 34.5%)
CIE-LABlab(35.51, 60.43, -51.18)
CIE-LCHlch(35.51, 79.19, 319.74°)
OKLaboklab(47.13% 0.1474 -0.1445)
OKLCHoklch(47.13% 0.206 315.6)
XYZxyz(17.1368, 8.7572, 37.3393)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851FA7 #41A71F
analogous
#411FA7 #851FA7 #A71F85
triadic
#851FA7 #A7851F #1FA785
tetradic
#851FA7 #A7411F #41A71F #1F85A7
square
#851FA7 #A7411F #41A71F #1F85A7
split-complementary
#851FA7 #85A71F #1FA741
monochromatic
#330C40 #5C1573 #851FA7 #AD2BD8 #C15FE1

Accessibility & contrast

On white

7.63
#851FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#851FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851FA7
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851FA7#FFFFFF#000000##FFFFFF
##851FA71.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#1956A4
Tritanopia (blue-blind)
#824064
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #851fa7;
/* rgb */ color: rgb(133, 31, 167);
/* oklch */ color: oklch(47.1% 0.206 315.6);
Tailwind
colors: {
  custom: {
    50: '#ad69c2',
    500: '#851fa7',
    950: '#000000',
  },
}
SCSS
$custom: #851fa7;
$custom-light: #ad69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#851fa7",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 285,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47131,
    "c": 0.20642,
    "h": 315.6
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#851FA7
secondary
#76C65C
accent
#EC3C68
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #851FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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