#8366CB#8366CB

#8366CB is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.5% C 0.151 H 294.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8366CB
RGBrgb(131, 102, 203)
HSLhsl(257, 49%, 60%)
HSVhsv(257, 50%, 80%)
CMYKcmyk(35.5%, 49.8%, 0%, 20.4%)
CIE-LABlab(50.26, 34.27, -48.60)
CIE-LCHlch(50.26, 59.46, 305.19°)
OKLaboklab(58.52% 0.0626 -0.1373)
OKLCHoklch(58.52% 0.151 294.5)
XYZxyz(24.8882, 18.6394, 58.7748)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366CB #AECB66
analogous
#667BCB #8366CB #B666CB
triadic
#8366CB #CB8366 #66CB83
tetradic
#8366CB #CB667B #AECB66 #66CBB6
square
#8366CB #CB667B #AECB66 #66CBB6
split-complementary
#8366CB #CBB666 #7BCB66
monochromatic
#482E88 #603EB6 #8366CB #A894DB #CDC1EA

Accessibility & contrast

On white

4.44
#8366CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8366CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366CB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366CB#FFFFFF#000000##000000
##8366CB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4179CF
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#727A8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8366cb;
/* rgb */ color: rgb(131, 102, 203);
/* oklch */ color: oklch(58.5% 0.151 294.5);
Tailwind
colors: {
  custom: {
    50: '#aa92db',
    500: '#8366cb',
    950: '#000000',
  },
}
SCSS
$custom: #8366cb;
$custom-light: #aa92db;
$custom-dark: #000000;
JSON
{
  "hex": "#8366cb",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 257.228,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58524,
    "c": 0.15088,
    "h": 294.5
  },
  "luminance": 0.1864
}

Semantic roles & 50–950 ramp

primary
#8366CB
secondary
#CFDAB3
accent
#D94FB1
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8366CB

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

Preview Lab → · Contrast checker → · Palette generator →

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