#8351E7#8351E7

#8351E7 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.1% C 0.215 H 293.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8351E7
RGBrgb(131, 81, 231)
HSLhsl(260, 76%, 61%)
HSVhsv(260, 65%, 91%)
CMYKcmyk(43.3%, 64.9%, 0%, 9.4%)
CIE-LABlab(47.60, 53.43, -68.81)
CIE-LCHlch(47.60, 87.12, 307.83°)
OKLaboklab(57.14% 0.0868 -0.1967)
OKLCHoklch(57.14% 0.215 293.8)
XYZxyz(26.7224, 16.4789, 77.3586)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351E7 #B5E751
analogous
#516AE7 #8351E7 #CE51E7
triadic
#8351E7 #E78351 #51E783
tetradic
#8351E7 #E7516A #B5E751 #51E7CE
square
#8351E7 #E7516A #B5E751 #51E7CE
split-complementary
#8351E7 #E7CE51 #6AE751
monochromatic
#4717A7 #5E1EDC #8351E7 #A987EE #D0BDF6

Accessibility & contrast

On white

4.89
#8351E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8351E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351E7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351E7#FFFFFF#000000##FFFFFF
##8351E71.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#677595
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8351e7;
/* rgb */ color: rgb(131, 81, 231);
/* oklch */ color: oklch(57.1% 0.215 293.8);
Tailwind
colors: {
  custom: {
    50: '#ae85f0',
    500: '#8351e7',
    950: '#000000',
  },
}
SCSS
$custom: #8351e7;
$custom-light: #ae85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8351e7",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 260,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57142,
    "c": 0.21496,
    "h": 293.8
  },
  "luminance": 0.1648
}

Semantic roles & 50–950 ramp

primary
#8351E7
secondary
#D3E6AE
accent
#D80E94
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8351E7

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

Preview Lab → · Contrast checker → · Palette generator →

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