#8351E1#8351E1

#8351E1 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.208 H 294.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8351E1
RGBrgb(131, 81, 225)
HSLhsl(261, 71%, 60%)
HSVhsv(261, 64%, 88%)
CMYKcmyk(41.8%, 64%, 0%, 11.8%)
CIE-LABlab(47.17, 51.85, -66.12)
CIE-LCHlch(47.17, 84.02, 308.10°)
OKLaboklab(56.69% 0.0874 -0.1887)
OKLCHoklch(56.69% 0.208 294.9)
XYZxyz(25.8895, 16.1458, 72.9720)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351E1 #AFE151
analogous
#5167E1 #8351E1 #CB51E1
triadic
#8351E1 #E18351 #51E183
tetradic
#8351E1 #E15167 #AFE151 #51E1CB
square
#8351E1 #E15167 #AFE151 #51E1CB
split-complementary
#8351E1 #E1CB51 #67E151
monochromatic
#481B9D #6024D1 #8351E1 #A885EA #CDB9F3

Accessibility & contrast

On white

4.97
#8351E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8351E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351E1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351E1#FFFFFF#000000##FFFFFF
##8351E11.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#006EDE
Tritanopia (blue-blind)
#6A7392
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8351e1;
/* rgb */ color: rgb(131, 81, 225);
/* oklch */ color: oklch(56.7% 0.208 294.9);
Tailwind
colors: {
  custom: {
    50: '#ae85eb',
    500: '#8351e1',
    950: '#000000',
  },
}
SCSS
$custom: #8351e1;
$custom-light: #ae85eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8351e1",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 260.833,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.56695,
    "c": 0.20801,
    "h": 294.9
  },
  "luminance": 0.16146
}

Semantic roles & 50–950 ramp

primary
#8351E1
secondary
#CFE3AB
accent
#ED3AAF
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8351E1

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

Preview Lab → · Contrast checker → · Palette generator →

#8351E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva