#8367E2#8367E2

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

Color values

HEX#8367E2
RGBrgb(131, 103, 226)
HSLhsl(254, 68%, 65%)
HSVhsv(254, 54%, 89%)
CMYKcmyk(42%, 54.4%, 0%, 11.4%)
CIE-LABlab(51.86, 39.95, -59.11)
CIE-LCHlch(51.86, 71.34, 304.05°)
OKLaboklab(60.15% 0.0627 -0.1681)
OKLCHoklch(60.15% 0.179 290.5)
XYZxyz(27.9340, 20.0159, 74.3284)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8367E2 #C6E267
analogous
#6788E2 #8367E2 #C167E2
triadic
#8367E2 #E28367 #67E283
tetradic
#8367E2 #E26788 #C6E267 #67E2C1
square
#8367E2 #E26788 #C6E267 #67E2C1
split-complementary
#8367E2 #E2C167 #88E267
monochromatic
#4121AD #5934D8 #8367E2 #AD9AEC #D7CEF6

Accessibility & contrast

On white

4.20
#8367E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8367E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8367E2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8367E2#FFFFFF#000000##000000
##8367E21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#287EE6
Deuteranopia (green-blind)
#2D79DF
Tritanopia (blue-blind)
#68819B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8367e2;
/* rgb */ color: rgb(131, 103, 226);
/* oklch */ color: oklch(60.1% 0.179 290.5);
Tailwind
colors: {
  custom: {
    50: '#ac93ec',
    500: '#8367e2',
    950: '#000000',
  },
}
SCSS
$custom: #8367e2;
$custom-light: #ac93ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8367e2",
  "rgb": {
    "r": 131,
    "g": 103,
    "b": 226
  },
  "hsl": {
    "h": 253.659,
    "s": 67.956,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60148,
    "c": 0.17944,
    "h": 290.5
  },
  "luminance": 0.20017
}

Semantic roles & 50–950 ramp

primary
#8367E2
secondary
#DEE8BD
accent
#D016A5
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8367E2

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

Preview Lab → · Contrast checker → · Palette generator →

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