#8351EA#8351EA

#8351EA is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.218 H 293.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8351EA
RGBrgb(131, 81, 234)
HSLhsl(260, 78%, 62%)
HSVhsv(260, 65%, 92%)
CMYKcmyk(44%, 65.4%, 0%, 8.2%)
CIE-LABlab(47.82, 54.22, -70.15)
CIE-LCHlch(47.82, 88.66, 307.70°)
OKLaboklab(57.37% 0.0864 -0.2006)
OKLCHoklch(57.37% 0.218 293.3)
XYZxyz(27.1497, 16.6499, 79.6092)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351EA #B8EA51
analogous
#516CEA #8351EA #D051EA
triadic
#8351EA #EA8351 #51EA83
tetradic
#8351EA #EA516C #B8EA51 #51EAD0
square
#8351EA #EA516C #B8EA51 #51EAD0
split-complementary
#8351EA #EAD051 #6CEA51
monochromatic
#4615AC #5C1BE2 #8351EA #AA88F1 #D1BEF7

Accessibility & contrast

On white

4.85
#8351EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8351EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351EA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351EA#FFFFFF#000000##FFFFFF
##8351EA1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#667697
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8351ea;
/* rgb */ color: rgb(131, 81, 234);
/* oklch */ color: oklch(57.4% 0.218 293.3);
Tailwind
colors: {
  custom: {
    50: '#ae85f2',
    500: '#8351ea',
    950: '#000000',
  },
}
SCSS
$custom: #8351ea;
$custom-light: #ae85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8351ea",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 259.608,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57368,
    "c": 0.21842,
    "h": 293.3
  },
  "luminance": 0.16651
}

Semantic roles & 50–950 ramp

primary
#8351EA
secondary
#D5E8AF
accent
#DB0B97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8351EA

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

Preview Lab → · Contrast checker → · Palette generator →

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