#851FC2#851FC2

#851FC2 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.2% C 0.230 H 307.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#851FC2
RGBrgb(133, 31, 194)
HSLhsl(278, 72%, 44%)
HSVhsv(278, 84%, 76%)
CMYKcmyk(31.4%, 84%, 0%, 23.9%)
CIE-LABlab(37.59, 65.88, -63.81)
CIE-LCHlch(37.59, 91.72, 315.92°)
OKLaboklab(49.23% 0.1407 -0.1816)
OKLCHoklch(49.23% 0.23 307.8)
XYZxyz(19.8984, 9.8619, 51.8838)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851FC2 #5CC21F
analogous
#341FC2 #851FC2 #C21FAE
triadic
#851FC2 #C2851F #1FC285
tetradic
#851FC2 #C2341F #5CC21F #1FAEC2
square
#851FC2 #C2341F #5CC21F #1FAEC2
split-complementary
#851FC2 #AEC21F #1FC234
monochromatic
#3D0E58 #61178D #851FC2 #A33EE0 #BD73E9

Accessibility & contrast

On white

7.06
#851FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#851FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851FC2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851FC2#FFFFFF#000000##FFFFFF
##851FC21.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#7B4D74
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #851fc2;
/* rgb */ color: rgb(133, 31, 194);
/* oklch */ color: oklch(49.2% 0.230 307.8);
Tailwind
colors: {
  custom: {
    50: '#af6ad5',
    500: '#851fc2',
    950: '#000000',
  },
}
SCSS
$custom: #851fc2;
$custom-light: #af6ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#851fc2",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 194
  },
  "hsl": {
    "h": 277.546,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49231,
    "c": 0.22978,
    "h": 307.8
  },
  "luminance": 0.09862
}

Semantic roles & 50–950 ramp

primary
#851FC2
secondary
#92CF6D
accent
#EF397D
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #851FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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