#8366DC#8366DC

#8366DC is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.6% C 0.173 H 291.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8366DC
RGBrgb(131, 102, 220)
HSLhsl(255, 63%, 63%)
HSVhsv(255, 54%, 86%)
CMYKcmyk(40.5%, 53.6%, 0%, 13.7%)
CIE-LABlab(51.26, 38.87, -56.68)
CIE-LCHlch(51.26, 68.73, 304.45°)
OKLaboklab(59.59% 0.0637 -0.161)
OKLCHoklch(59.59% 0.173 291.6)
XYZxyz(27.0262, 19.4946, 70.0351)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366DC #BFDC66
analogous
#6684DC #8366DC #BE66DC
triadic
#8366DC #DC8366 #66DC83
tetradic
#8366DC #DC6684 #BFDC66 #66DCBE
square
#8366DC #DC6684 #BFDC66 #66DCBE
split-complementary
#8366DC #DCBE66 #84DC66
monochromatic
#4425A2 #5B34D1 #8366DC #AB98E7 #D4CAF3

Accessibility & contrast

On white

4.29
#8366DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8366DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366DC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366DC#FFFFFF#000000##000000
##8366DC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7CE0
Deuteranopia (green-blind)
#3478D9
Tritanopia (blue-blind)
#6B7F97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8366dc;
/* rgb */ color: rgb(131, 102, 220);
/* oklch */ color: oklch(59.6% 0.173 291.6);
Tailwind
colors: {
  custom: {
    50: '#ac92e7',
    500: '#8366dc',
    950: '#000000',
  },
}
SCSS
$custom: #8366dc;
$custom-light: #ac92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8366dc",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 254.746,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59589,
    "c": 0.17312,
    "h": 291.6
  },
  "luminance": 0.19495
}

Semantic roles & 50–950 ramp

primary
#8366DC
secondary
#DAE4BA
accent
#CB1B9F
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8366DC

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

Preview Lab → · Contrast checker → · Palette generator →

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