#8351E4#8351E4

#8351E4 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.9% C 0.211 H 294.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8351E4
RGBrgb(131, 81, 228)
HSLhsl(260, 73%, 61%)
HSVhsv(260, 64%, 89%)
CMYKcmyk(42.5%, 64.5%, 0%, 10.6%)
CIE-LABlab(47.38, 52.64, -67.47)
CIE-LCHlch(47.38, 85.57, 307.96°)
OKLaboklab(56.92% 0.0871 -0.1927)
OKLCHoklch(56.92% 0.211 294.3)
XYZxyz(26.3023, 16.3109, 75.1463)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351E4 #B2E451
analogous
#5168E4 #8351E4 #CC51E4
triadic
#8351E4 #E48351 #51E483
tetradic
#8351E4 #E45168 #B2E451 #51E4CC
square
#8351E4 #E45168 #B2E451 #51E4CC
split-complementary
#8351E4 #E4CC51 #68E451
monochromatic
#4719A2 #5F21D7 #8351E4 #A986EC #CFBBF4

Accessibility & contrast

On white

4.93
#8351E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8351E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351E4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351E4#FFFFFF#000000##FFFFFF
##8351E41.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#697493
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8351e4;
/* rgb */ color: rgb(131, 81, 228);
/* oklch */ color: oklch(56.9% 0.211 294.3);
Tailwind
colors: {
  custom: {
    50: '#ae85ed',
    500: '#8351e4',
    950: '#000000',
  },
}
SCSS
$custom: #8351e4;
$custom-light: #ae85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8351e4",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 260.408,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56917,
    "c": 0.21149,
    "h": 294.3
  },
  "luminance": 0.16312
}

Semantic roles & 50–950 ramp

primary
#8351E4
secondary
#D1E4AC
accent
#D51092
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8351E4

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

Preview Lab → · Contrast checker → · Palette generator →

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