#8368EA#8368EA

#8368EA is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.8% C 0.188 H 289.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8368EA
RGBrgb(131, 104, 234)
HSLhsl(252, 76%, 66%)
HSVhsv(252, 56%, 92%)
CMYKcmyk(44%, 55.6%, 0%, 8.2%)
CIE-LABlab(52.58, 41.61, -62.44)
CIE-LCHlch(52.58, 75.03, 303.68°)
OKLaboklab(60.85% 0.0617 -0.1779)
OKLCHoklch(60.85% 0.188 289.1)
XYZxyz(29.1575, 20.6654, 80.2785)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8368EA #CFEA68
analogous
#688EEA #8368EA #C468EA
triadic
#8368EA #EA8368 #68EA83
tetradic
#8368EA #EA688E #CFEA68 #68EAC4
square
#8368EA #EA688E #CFEA68 #68EAC4
split-complementary
#8368EA #EAC468 #8EEA68
monochromatic
#3C1ABD #5732E3 #8368EA #AF9EF1 #DBD3F9

Accessibility & contrast

On white

4.09
#8368EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8368EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8368EA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8368EA#FFFFFF#000000##000000
##8368EA1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C80EE
Deuteranopia (green-blind)
#217AE7
Tritanopia (blue-blind)
#64849F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8368ea;
/* rgb */ color: rgb(131, 104, 234);
/* oklch */ color: oklch(60.8% 0.188 289.1);
Tailwind
colors: {
  custom: {
    50: '#ad94f1',
    500: '#8368ea',
    950: '#000000',
  },
}
SCSS
$custom: #8368ea;
$custom-light: #ad94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8368ea",
  "rgb": {
    "r": 131,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 252.462,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60846,
    "c": 0.1883,
    "h": 289.1
  },
  "luminance": 0.20666
}

Semantic roles & 50–950 ramp

primary
#8368EA
secondary
#E3ECC2
accent
#D80EAE
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8368EA

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

Preview Lab → · Contrast checker → · Palette generator →

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