#8368E4#8368E4

#8368E4 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.4% C 0.181 H 289.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8368E4
RGBrgb(131, 104, 228)
HSLhsl(253, 70%, 65%)
HSVhsv(253, 54%, 89%)
CMYKcmyk(42.5%, 54.4%, 0%, 10.6%)
CIE-LABlab(52.20, 39.93, -59.67)
CIE-LCHlch(52.20, 71.80, 303.79°)
OKLaboklab(60.45% 0.0616 -0.1698)
OKLCHoklch(60.45% 0.181 289.9)
XYZxyz(28.3101, 20.3264, 75.8155)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8368E4 #C9E468
analogous
#688BE4 #8368E4 #C168E4
triadic
#8368E4 #E48368 #68E483
tetradic
#8368E4 #E4688B #C9E468 #68E4C1
square
#8368E4 #E4688B #C9E468 #68E4C1
split-complementary
#8368E4 #E4C168 #8BE468
monochromatic
#4020B2 #5834DB #8368E4 #AE9CED #D8D0F7

Accessibility & contrast

On white

4.15
#8368E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8368E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8368E4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8368E4#FFFFFF#000000##000000
##8368E41.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#287FE8
Deuteranopia (green-blind)
#2C7AE1
Tritanopia (blue-blind)
#67839C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8368e4;
/* rgb */ color: rgb(131, 104, 228);
/* oklch */ color: oklch(60.4% 0.181 289.9);
Tailwind
colors: {
  custom: {
    50: '#ad94ed',
    500: '#8368e4',
    950: '#000000',
  },
}
SCSS
$custom: #8368e4;
$custom-light: #ad94ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8368e4",
  "rgb": {
    "r": 131,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 253.065,
    "s": 69.663,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60446,
    "c": 0.18061,
    "h": 289.9
  },
  "luminance": 0.20327
}

Semantic roles & 50–950 ramp

primary
#8368E4
secondary
#E0E9BF
accent
#D214A8
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8368E4

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

Preview Lab → · Contrast checker → · Palette generator →

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