#8366CC#8366CC

#8366CC is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.6% C 0.152 H 294.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8366CC
RGBrgb(131, 102, 204)
HSLhsl(257, 50%, 60%)
HSVhsv(257, 50%, 80%)
CMYKcmyk(35.8%, 50%, 0%, 20%)
CIE-LABlab(50.32, 34.53, -49.08)
CIE-LCHlch(50.32, 60.01, 305.13°)
OKLaboklab(58.59% 0.0627 -0.1387)
OKLCHoklch(58.59% 0.152 294.3)
XYZxyz(25.0077, 18.6872, 59.4045)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366CC #AFCC66
analogous
#667CCC #8366CC #B666CC
triadic
#8366CC #CC8366 #66CC83
tetradic
#8366CC #CC667C #AFCC66 #66CCB6
square
#8366CC #CC667C #AFCC66 #66CCB6
split-complementary
#8366CC #CCB666 #7CCC66
monochromatic
#482E8A #603DB8 #8366CC #A894DB #CDC2EB

Accessibility & contrast

On white

4.43
#8366CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8366CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366CC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366CC#FFFFFF#000000##000000
##8366CC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D0
Deuteranopia (green-blind)
#4576CA
Tritanopia (blue-blind)
#727A8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8366cc;
/* rgb */ color: rgb(131, 102, 204);
/* oklch */ color: oklch(58.6% 0.152 294.3);
Tailwind
colors: {
  custom: {
    50: '#aa92dc',
    500: '#8366cc',
    950: '#000000',
  },
}
SCSS
$custom: #8366cc;
$custom-light: #aa92dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8366cc",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 257.059,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.58585,
    "c": 0.15221,
    "h": 294.3
  },
  "luminance": 0.18688
}

Semantic roles & 50–950 ramp

primary
#8366CC
secondary
#CFDBB3
accent
#DA4EB2
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8366CC

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

Preview Lab → · Contrast checker → · Palette generator →

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