#8366E8#8366E8

#8366E8 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.4% C 0.189 H 289.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8366E8
RGBrgb(131, 102, 232)
HSLhsl(253, 74%, 65%)
HSVhsv(253, 56%, 91%)
CMYKcmyk(43.5%, 56%, 0%, 9%)
CIE-LABlab(52.01, 42.19, -62.23)
CIE-LCHlch(52.01, 75.19, 304.13°)
OKLaboklab(60.38% 0.064 -0.1773)
OKLCHoklch(60.38% 0.189 289.8)
XYZxyz(28.6729, 20.1532, 78.7075)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366E8 #CBE866
analogous
#668AE8 #8366E8 #C466E8
triadic
#8366E8 #E88366 #66E883
tetradic
#8366E8 #E8668A #CBE866 #66E8C4
square
#8366E8 #E8668A #CBE866 #66E8C4
split-complementary
#8366E8 #E8C466 #8AE866
monochromatic
#3F1CB8 #5831E0 #8366E8 #AE9BF0 #D9D0F8

Accessibility & contrast

On white

4.17
#8366E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8366E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366E8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366E8#FFFFFF#000000##000000
##8366E81.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#187FEC
Deuteranopia (green-blind)
#1F79E5
Tritanopia (blue-blind)
#65829D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8366e8;
/* rgb */ color: rgb(131, 102, 232);
/* oklch */ color: oklch(60.4% 0.189 289.8);
Tailwind
colors: {
  custom: {
    50: '#ad92f0',
    500: '#8366e8',
    950: '#000000',
  },
}
SCSS
$custom: #8366e8;
$custom-light: #ad92f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8366e8",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 253.385,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60383,
    "c": 0.1885,
    "h": 289.8
  },
  "luminance": 0.20154
}

Semantic roles & 50–950 ramp

primary
#8366E8
secondary
#E1EBBF
accent
#D610AA
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8366E8

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

Preview Lab → · Contrast checker → · Palette generator →

#8366E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva