#8367E4#8367E4

#8367E4 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.3% C 0.182 H 290.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8367E4
RGBrgb(131, 103, 228)
HSLhsl(253, 70%, 65%)
HSVhsv(253, 55%, 89%)
CMYKcmyk(42.5%, 54.8%, 0%, 10.6%)
CIE-LABlab(51.98, 40.51, -60.04)
CIE-LCHlch(51.98, 72.42, 304.01°)
OKLaboklab(60.28% 0.0628 -0.1708)
OKLCHoklch(60.28% 0.182 290.2)
XYZxyz(28.2100, 20.1263, 75.7822)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8367E4 #C8E467
analogous
#678AE4 #8367E4 #C167E4
triadic
#8367E4 #E48367 #67E483
tetradic
#8367E4 #E4678A #C8E467 #67E4C1
square
#8367E4 #E4678A #C8E467 #67E4C1
split-complementary
#8367E4 #E4C167 #8AE467
monochromatic
#401FB1 #5933DB #8367E4 #AD9BED #D8CFF6

Accessibility & contrast

On white

4.18
#8367E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8367E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8367E4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8367E4#FFFFFF#000000##000000
##8367E41.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#257EE8
Deuteranopia (green-blind)
#2A79E1
Tritanopia (blue-blind)
#67829C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8367e4;
/* rgb */ color: rgb(131, 103, 228);
/* oklch */ color: oklch(60.3% 0.182 290.2);
Tailwind
colors: {
  custom: {
    50: '#ad93ed',
    500: '#8367e4',
    950: '#000000',
  },
}
SCSS
$custom: #8367e4;
$custom-light: #ad93ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8367e4",
  "rgb": {
    "r": 131,
    "g": 103,
    "b": 228
  },
  "hsl": {
    "h": 253.44,
    "s": 69.832,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6028,
    "c": 0.18201,
    "h": 290.2
  },
  "luminance": 0.20127
}

Semantic roles & 50–950 ramp

primary
#8367E4
secondary
#DFE9BE
accent
#D214A7
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8367E4

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

Preview Lab → · Contrast checker → · Palette generator →

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