#8366EF#8366EF

#8366EF is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.9% C 0.197 H 288.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8366EF
RGBrgb(131, 102, 239)
HSLhsl(253, 81%, 67%)
HSVhsv(253, 57%, 94%)
CMYKcmyk(45.2%, 57.3%, 0%, 6.3%)
CIE-LABlab(52.46, 44.14, -65.42)
CIE-LCHlch(52.46, 78.92, 304.01°)
OKLaboklab(60.86% 0.0639 -0.1867)
OKLCHoklch(60.86% 0.197 288.9)
XYZxyz(29.6870, 20.5589, 84.0487)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366EF #D2EF66
analogous
#668EEF #8366EF #C866EF
triadic
#8366EF #EF8366 #66EF83
tetradic
#8366EF #EF668E #D2EF66 #66EFC8
square
#8366EF #EF668E #D2EF66 #66EFC8
split-complementary
#8366EF #EFC866 #8EEF66
monochromatic
#3A15C6 #562FE9 #8366EF #B09DF5 #DDD5FB

Accessibility & contrast

On white

4.11
#8366EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8366EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366EF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366EF#FFFFFF#000000##000000
##8366EF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#037AEC
Tritanopia (blue-blind)
#6185A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8366ef;
/* rgb */ color: rgb(131, 102, 239);
/* oklch */ color: oklch(60.9% 0.197 288.9);
Tailwind
colors: {
  custom: {
    50: '#ae92f5',
    500: '#8366ef',
    950: '#000000',
  },
}
SCSS
$custom: #8366ef;
$custom-light: #ae92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8366ef",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 252.701,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60862,
    "c": 0.19734,
    "h": 288.9
  },
  "luminance": 0.2056
}

Semantic roles & 50–950 ramp

primary
#8366EF
secondary
#E5EEC2
accent
#DD08B0
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8366EF

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

Preview Lab → · Contrast checker → · Palette generator →

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