#8366D2#8366D2

#8366D2 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.0% C 0.160 H 293.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8366D2
RGBrgb(131, 102, 210)
HSLhsl(256, 55%, 61%)
HSVhsv(256, 51%, 82%)
CMYKcmyk(37.6%, 51.4%, 0%, 17.6%)
CIE-LABlab(50.66, 36.15, -51.95)
CIE-LCHlch(50.66, 63.29, 304.83°)
OKLaboklab(58.95% 0.0632 -0.1471)
OKLCHoklch(58.95% 0.16 293.2)
XYZxyz(25.7412, 18.9806, 63.2677)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366D2 #B5D266
analogous
#667FD2 #8366D2 #B966D2
triadic
#8366D2 #D28366 #66D283
tetradic
#8366D2 #D2667F #B5D266 #66D2B9
square
#8366D2 #D2667F #B5D266 #66D2B9
split-complementary
#8366D2 #D2B966 #7FD266
monochromatic
#472B93 #5E39C2 #8366D2 #A995E0 #D0C5EE

Accessibility & contrast

On white

4.38
#8366D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8366D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366D2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366D2#FFFFFF#000000##000000
##8366D21.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7AD6
Deuteranopia (green-blind)
#4077D0
Tritanopia (blue-blind)
#6F7C92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8366d2;
/* rgb */ color: rgb(131, 102, 210);
/* oklch */ color: oklch(59.0% 0.160 293.2);
Tailwind
colors: {
  custom: {
    50: '#ab92e0',
    500: '#8366d2',
    950: '#000000',
  },
}
SCSS
$custom: #8366d2;
$custom-light: #ab92e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8366d2",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 256.111,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58954,
    "c": 0.16011,
    "h": 293.2
  },
  "luminance": 0.18981
}

Semantic roles & 50–950 ramp

primary
#8366D2
secondary
#D3DEB6
accent
#C22397
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8366D2

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

Preview Lab → · Contrast checker → · Palette generator →

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