#8366EE#8366EE

#8366EE is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.8% C 0.196 H 289.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8366EE
RGBrgb(131, 102, 238)
HSLhsl(253, 80%, 67%)
HSVhsv(253, 57%, 93%)
CMYKcmyk(45%, 57.1%, 0%, 6.7%)
CIE-LABlab(52.40, 43.86, -64.97)
CIE-LCHlch(52.40, 78.39, 304.02°)
OKLaboklab(60.79% 0.0639 -0.1854)
OKLCHoklch(60.79% 0.196 289)
XYZxyz(29.5397, 20.5000, 83.2728)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366EE #D1EE66
analogous
#668DEE #8366EE #C766EE
triadic
#8366EE #EE8366 #66EE83
tetradic
#8366EE #EE668D #D1EE66 #66EEC7
square
#8366EE #EE668D #D1EE66 #66EEC7
split-complementary
#8366EE #EEC766 #8DEE66
monochromatic
#3B16C4 #562FE8 #8366EE #B09DF4 #DCD4FA

Accessibility & contrast

On white

4.12
#8366EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8366EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366EE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366EE#FFFFFF#000000##000000
##8366EE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F3
Deuteranopia (green-blind)
#097AEB
Tritanopia (blue-blind)
#6284A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8366ee;
/* rgb */ color: rgb(131, 102, 238);
/* oklch */ color: oklch(60.8% 0.196 289.0);
Tailwind
colors: {
  custom: {
    50: '#ae92f4',
    500: '#8366ee',
    950: '#000000',
  },
}
SCSS
$custom: #8366ee;
$custom-light: #ae92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8366ee",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 252.794,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60793,
    "c": 0.19608,
    "h": 289
  },
  "luminance": 0.20501
}

Semantic roles & 50–950 ramp

primary
#8366EE
secondary
#E4EEC2
accent
#DC09AF
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8366EE

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

Preview Lab → · Contrast checker → · Palette generator →

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