#8366E6#8366E6

#8366E6 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.2% C 0.186 H 290.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8366E6
RGBrgb(131, 102, 230)
HSLhsl(254, 72%, 65%)
HSVhsv(254, 56%, 90%)
CMYKcmyk(43%, 55.7%, 0%, 9.8%)
CIE-LABlab(51.88, 41.63, -61.32)
CIE-LCHlch(51.88, 74.12, 304.18°)
OKLaboklab(60.25% 0.0639 -0.1746)
OKLCHoklch(60.25% 0.186 290.1)
XYZxyz(28.3904, 20.0402, 77.2199)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366E6 #C9E666
analogous
#6689E6 #8366E6 #C366E6
triadic
#8366E6 #E68366 #66E683
tetradic
#8366E6 #E66689 #C9E666 #66E6C3
square
#8366E6 #E66689 #C9E666 #66E6C3
split-complementary
#8366E6 #E6C366 #89E666
monochromatic
#401DB4 #5831DD #8366E6 #AE9BEF #D8CFF7

Accessibility & contrast

On white

4.19
#8366E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8366E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366E6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366E6#FFFFFF#000000##000000
##8366E61.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7EEA
Deuteranopia (green-blind)
#2479E3
Tritanopia (blue-blind)
#66829C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8366e6;
/* rgb */ color: rgb(131, 102, 230);
/* oklch */ color: oklch(60.2% 0.186 290.1);
Tailwind
colors: {
  custom: {
    50: '#ad92ef',
    500: '#8366e6',
    950: '#000000',
  },
}
SCSS
$custom: #8366e6;
$custom-light: #ad92ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8366e6",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 253.594,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60248,
    "c": 0.18596,
    "h": 290.1
  },
  "luminance": 0.20041
}

Semantic roles & 50–950 ramp

primary
#8366E6
secondary
#E0EABE
accent
#D412A8
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8366E6

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

Preview Lab → · Contrast checker → · Palette generator →

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