#8366DF#8366DF

#8366DF is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.8% C 0.177 H 291.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8366DF
RGBrgb(131, 102, 223)
HSLhsl(254, 65%, 64%)
HSVhsv(254, 54%, 87%)
CMYKcmyk(41.3%, 54.3%, 0%, 12.5%)
CIE-LABlab(51.44, 39.70, -58.08)
CIE-LCHlch(51.44, 70.35, 304.35°)
OKLaboklab(59.78% 0.0638 -0.1651)
OKLCHoklch(59.78% 0.177 291.1)
XYZxyz(27.4271, 19.6549, 72.1464)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366DF #C2DF66
analogous
#6685DF #8366DF #BF66DF
triadic
#8366DF #DF8366 #66DF83
tetradic
#8366DF #DF6685 #C2DF66 #66DFBF
square
#8366DF #DF6685 #C2DF66 #66DFBF
split-complementary
#8366DF #DFBF66 #85DF66
monochromatic
#4323A8 #5A33D4 #8366DF #AC99EA #D5CBF4

Accessibility & contrast

On white

4.26
#8366DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8366DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366DF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366DF#FFFFFF#000000##000000
##8366DF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7DE3
Deuteranopia (green-blind)
#3078DC
Tritanopia (blue-blind)
#6A8099
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8366df;
/* rgb */ color: rgb(131, 102, 223);
/* oklch */ color: oklch(59.8% 0.177 291.1);
Tailwind
colors: {
  custom: {
    50: '#ac92ea',
    500: '#8366df',
    950: '#000000',
  },
}
SCSS
$custom: #8366df;
$custom-light: #ac92ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8366df",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 254.38,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59784,
    "c": 0.17699,
    "h": 291.1
  },
  "luminance": 0.19656
}

Semantic roles & 50–950 ramp

primary
#8366DF
secondary
#DCE6BB
accent
#CD18A2
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8366DF

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

Preview Lab → · Contrast checker → · Palette generator →

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