#8366CD#8366CD

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

Color values

HEX#8366CD
RGBrgb(131, 102, 205)
HSLhsl(257, 51%, 60%)
HSVhsv(257, 50%, 80%)
CMYKcmyk(36.1%, 50.2%, 0%, 19.6%)
CIE-LABlab(50.38, 34.80, -49.56)
CIE-LCHlch(50.38, 60.56, 305.08°)
OKLaboklab(58.65% 0.0628 -0.1401)
OKLCHoklch(58.65% 0.154 294.1)
XYZxyz(25.1280, 18.7353, 60.0381)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366CD #B0CD66
analogous
#667DCD #8366CD #B666CD
triadic
#8366CD #CD8366 #66CD83
tetradic
#8366CD #CD667D #B0CD66 #66CDB6
square
#8366CD #CD667D #B0CD66 #66CDB6
split-complementary
#8366CD #CDB666 #7DCD66
monochromatic
#482D8B #603DB9 #8366CD #A894DC #CEC2EB

Accessibility & contrast

On white

4.42
#8366CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8366CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366CD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366CD#FFFFFF#000000##000000
##8366CD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F79D1
Deuteranopia (green-blind)
#4476CB
Tritanopia (blue-blind)
#717A90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8366cd;
/* rgb */ color: rgb(131, 102, 205);
/* oklch */ color: oklch(58.6% 0.154 294.1);
Tailwind
colors: {
  custom: {
    50: '#ab92dd',
    500: '#8366cd',
    950: '#000000',
  },
}
SCSS
$custom: #8366cd;
$custom-light: #ab92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8366cd",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 256.893,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58646,
    "c": 0.15352,
    "h": 294.1
  },
  "luminance": 0.18736
}

Semantic roles & 50–950 ramp

primary
#8366CD
secondary
#D0DBB4
accent
#BE2794
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8366CD

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

Preview Lab → · Contrast checker → · Palette generator →

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