#8351EB#8351EB

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

Color values

HEX#8351EB
RGBrgb(131, 81, 235)
HSLhsl(259, 79%, 62%)
HSVhsv(259, 66%, 92%)
CMYKcmyk(44.3%, 65.5%, 0%, 7.8%)
CIE-LABlab(47.89, 54.49, -70.59)
CIE-LCHlch(47.89, 89.17, 307.66°)
OKLaboklab(57.44% 0.0863 -0.2019)
OKLCHoklch(57.44% 0.22 293.1)
XYZxyz(27.2938, 16.7075, 80.3680)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351EB #B9EB51
analogous
#516CEB #8351EB #D051EB
triadic
#8351EB #EB8351 #51EB83
tetradic
#8351EB #EB516C #B9EB51 #51EBD0
square
#8351EB #EB516C #B9EB51 #51EBD0
split-complementary
#8351EB #EBD051 #6CEB51
monochromatic
#4614AE #5C1AE5 #8351EB #AA88F1 #D1BFF8

Accessibility & contrast

On white

4.84
#8351EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8351EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351EB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351EB#FFFFFF#000000##FFFFFF
##8351EB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#657697
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8351eb;
/* rgb */ color: rgb(131, 81, 235);
/* oklch */ color: oklch(57.4% 0.220 293.1);
Tailwind
colors: {
  custom: {
    50: '#af85f2',
    500: '#8351eb',
    950: '#000000',
  },
}
SCSS
$custom: #8351eb;
$custom-light: #af85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8351eb",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 259.481,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57444,
    "c": 0.21957,
    "h": 293.1
  },
  "luminance": 0.16708
}

Semantic roles & 50–950 ramp

primary
#8351EB
secondary
#D6E8B0
accent
#DC0A98
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8351EB

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

Preview Lab → · Contrast checker → · Palette generator →

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