#8366EA#8366EA

#8366EA is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.5% C 0.191 H 289.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8366EA
RGBrgb(131, 102, 234)
HSLhsl(253, 76%, 66%)
HSVhsv(253, 56%, 92%)
CMYKcmyk(44%, 56.4%, 0%, 8.2%)
CIE-LABlab(52.14, 42.75, -63.15)
CIE-LCHlch(52.14, 76.26, 304.09°)
OKLaboklab(60.52% 0.064 -0.18)
OKLCHoklch(60.52% 0.191 289.6)
XYZxyz(28.9585, 20.2675, 80.2122)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366EA #CDEA66
analogous
#668BEA #8366EA #C566EA
triadic
#8366EA #EA8366 #66EA83
tetradic
#8366EA #EA668B #CDEA66 #66EAC5
square
#8366EA #EA668B #CDEA66 #66EAC5
split-complementary
#8366EA #EAC566 #8BEA66
monochromatic
#3D1ABC #5730E3 #8366EA #AF9CF1 #DAD2F9

Accessibility & contrast

On white

4.16
#8366EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8366EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366EA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366EA#FFFFFF#000000##000000
##8366EA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#127FEE
Deuteranopia (green-blind)
#1A79E7
Tritanopia (blue-blind)
#64839E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8366ea;
/* rgb */ color: rgb(131, 102, 234);
/* oklch */ color: oklch(60.5% 0.191 289.6);
Tailwind
colors: {
  custom: {
    50: '#ad92f1',
    500: '#8366ea',
    950: '#000000',
  },
}
SCSS
$custom: #8366ea;
$custom-light: #ad92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8366ea",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 253.182,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60519,
    "c": 0.19104,
    "h": 289.6
  },
  "luminance": 0.20269
}

Semantic roles & 50–950 ramp

primary
#8366EA
secondary
#E2ECC0
accent
#D80DAC
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8366EA

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

Preview Lab → · Contrast checker → · Palette generator →

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