#8366ED#8366ED

#8366ED is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.7% C 0.195 H 289.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8366ED
RGBrgb(131, 102, 237)
HSLhsl(253, 79%, 66%)
HSVhsv(253, 57%, 93%)
CMYKcmyk(44.7%, 57%, 0%, 7.1%)
CIE-LABlab(52.33, 43.58, -64.52)
CIE-LCHlch(52.33, 77.86, 304.04°)
OKLaboklab(60.72% 0.064 -0.184)
OKLCHoklch(60.72% 0.195 289.2)
XYZxyz(29.3932, 20.4414, 82.5012)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366ED #D0ED66
analogous
#668DED #8366ED #C766ED
triadic
#8366ED #ED8366 #66ED83
tetradic
#8366ED #ED668D #D0ED66 #66EDC7
square
#8366ED #ED668D #D0ED66 #66EDC7
split-complementary
#8366ED #EDC766 #8DED66
monochromatic
#3C17C2 #572FE7 #8366ED #AF9DF3 #DCD4FA

Accessibility & contrast

On white

4.13
#8366ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8366ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366ED
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366ED#FFFFFF#000000##000000
##8366ED1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0380F1
Deuteranopia (green-blind)
#0F7AEA
Tritanopia (blue-blind)
#6284A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8366ed;
/* rgb */ color: rgb(131, 102, 237);
/* oklch */ color: oklch(60.7% 0.195 289.2);
Tailwind
colors: {
  custom: {
    50: '#ae92f4',
    500: '#8366ed',
    950: '#000000',
  },
}
SCSS
$custom: #8366ed;
$custom-light: #ae92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8366ed",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 252.889,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60724,
    "c": 0.19482,
    "h": 289.2
  },
  "luminance": 0.20442
}

Semantic roles & 50–950 ramp

primary
#8366ED
secondary
#E4EDC2
accent
#DB0AAE
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8366ED

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

Preview Lab → · Contrast checker → · Palette generator →

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