#8366EB#8366EB

#8366EB is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.6% C 0.192 H 289.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8366EB
RGBrgb(131, 102, 235)
HSLhsl(253, 77%, 66%)
HSVhsv(253, 57%, 92%)
CMYKcmyk(44.3%, 56.6%, 0%, 7.8%)
CIE-LABlab(52.20, 43.03, -63.61)
CIE-LCHlch(52.20, 76.79, 304.08°)
OKLaboklab(60.59% 0.064 -0.1813)
OKLCHoklch(60.59% 0.192 289.4)
XYZxyz(29.1026, 20.3251, 80.9709)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366EB #CEEB66
analogous
#668BEB #8366EB #C666EB
triadic
#8366EB #EB8366 #66EB83
tetradic
#8366EB #EB668B #CEEB66 #66EBC6
square
#8366EB #EB668B #CEEB66 #66EBC6
split-complementary
#8366EB #EBC666 #8BEB66
monochromatic
#3D19BE #5730E4 #8366EB #AF9CF2 #DBD2F9

Accessibility & contrast

On white

4.15
#8366EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8366EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366EB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366EB#FFFFFF#000000##000000
##8366EB1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E7FEF
Deuteranopia (green-blind)
#1779E8
Tritanopia (blue-blind)
#64839F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8366eb;
/* rgb */ color: rgb(131, 102, 235);
/* oklch */ color: oklch(60.6% 0.192 289.4);
Tailwind
colors: {
  custom: {
    50: '#ad92f2',
    500: '#8366eb',
    950: '#000000',
  },
}
SCSS
$custom: #8366eb;
$custom-light: #ad92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8366eb",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 253.083,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60587,
    "c": 0.1923,
    "h": 289.4
  },
  "luminance": 0.20326
}

Semantic roles & 50–950 ramp

primary
#8366EB
secondary
#E3ECC1
accent
#D90CAC
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8366EB

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

Preview Lab → · Contrast checker → · Palette generator →

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