#8367E1#8367E1

#8367E1 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.1% C 0.178 H 290.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8367E1
RGBrgb(131, 103, 225)
HSLhsl(254, 67%, 64%)
HSVhsv(254, 54%, 88%)
CMYKcmyk(41.8%, 54.2%, 0%, 11.8%)
CIE-LABlab(51.79, 39.67, -58.65)
CIE-LCHlch(51.79, 70.80, 304.08°)
OKLaboklab(60.08% 0.0627 -0.1668)
OKLCHoklch(60.08% 0.178 290.6)
XYZxyz(27.7972, 19.9612, 73.6079)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8367E1 #C5E167
analogous
#6788E1 #8367E1 #C067E1
triadic
#8367E1 #E18367 #67E183
tetradic
#8367E1 #E16788 #C5E167 #67E1C0
square
#8367E1 #E16788 #C5E167 #67E1C0
split-complementary
#8367E1 #E1C067 #88E167
monochromatic
#4222AC #5934D7 #8367E1 #AD9AEB #D6CDF5

Accessibility & contrast

On white

4.21
#8367E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8367E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8367E1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8367E1#FFFFFF#000000##000000
##8367E11.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7EE5
Deuteranopia (green-blind)
#2F79DE
Tritanopia (blue-blind)
#69819A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8367e1;
/* rgb */ color: rgb(131, 103, 225);
/* oklch */ color: oklch(60.1% 0.178 290.6);
Tailwind
colors: {
  custom: {
    50: '#ac93eb',
    500: '#8367e1',
    950: '#000000',
  },
}
SCSS
$custom: #8367e1;
$custom-light: #ac93eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8367e1",
  "rgb": {
    "r": 131,
    "g": 103,
    "b": 225
  },
  "hsl": {
    "h": 253.77,
    "s": 67.033,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60082,
    "c": 0.17815,
    "h": 290.6
  },
  "luminance": 0.19962
}

Semantic roles & 50–950 ramp

primary
#8367E1
secondary
#DDE7BD
accent
#CF17A5
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8367E1

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

Preview Lab → · Contrast checker → · Palette generator →

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