#8366DB#8366DB

#8366DB is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.5% C 0.172 H 291.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8366DB
RGBrgb(131, 102, 219)
HSLhsl(255, 62%, 63%)
HSVhsv(255, 53%, 86%)
CMYKcmyk(40.2%, 53.4%, 0%, 14.1%)
CIE-LABlab(51.20, 38.60, -56.21)
CIE-LCHlch(51.20, 68.18, 304.48°)
OKLaboklab(59.52% 0.0637 -0.1596)
OKLCHoklch(59.52% 0.172 291.7)
XYZxyz(26.8942, 19.4418, 69.3397)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366DB #BEDB66
analogous
#6683DB #8366DB #BE66DB
triadic
#8366DB #DB8366 #66DB83
tetradic
#8366DB #DB6683 #BEDB66 #66DBBE
square
#8366DB #DB6683 #BEDB66 #66DBBE
split-complementary
#8366DB #DBBE66 #83DB66
monochromatic
#4426A1 #5B34CF #8366DB #AB98E7 #D3C9F2

Accessibility & contrast

On white

4.30
#8366DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8366DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366DB#FFFFFF#000000##000000
##8366DB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CDF
Deuteranopia (green-blind)
#3578D8
Tritanopia (blue-blind)
#6B7F97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8366db;
/* rgb */ color: rgb(131, 102, 219);
/* oklch */ color: oklch(59.5% 0.172 291.7);
Tailwind
colors: {
  custom: {
    50: '#ac92e7',
    500: '#8366db',
    950: '#000000',
  },
}
SCSS
$custom: #8366db;
$custom-light: #ac92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8366db",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 254.872,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59524,
    "c": 0.17183,
    "h": 291.7
  },
  "luminance": 0.19443
}

Semantic roles & 50–950 ramp

primary
#8366DB
secondary
#D9E3B9
accent
#CA1C9F
background
#FAF9FE
surface
#F5F1FC
border
#CFCBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8366DB

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

Preview Lab → · Contrast checker → · Palette generator →

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