#8366D9#8366D9

#8366D9 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.4% C 0.169 H 292.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8366D9
RGBrgb(131, 102, 217)
HSLhsl(255, 60%, 63%)
HSVhsv(255, 53%, 85%)
CMYKcmyk(39.6%, 53%, 0%, 14.9%)
CIE-LABlab(51.08, 38.05, -55.27)
CIE-LCHlch(51.08, 67.10, 304.55°)
OKLaboklab(59.4% 0.0636 -0.1568)
OKLCHoklch(59.4% 0.169 292.1)
XYZxyz(26.6325, 19.3371, 67.9614)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366D9 #BCD966
analogous
#6683D9 #8366D9 #BC66D9
triadic
#8366D9 #D98366 #66D983
tetradic
#8366D9 #D96683 #BCD966 #66D9BC
square
#8366D9 #D96683 #BCD966 #66D9BC
split-complementary
#8366D9 #D9BC66 #83D966
monochromatic
#45279D #5B35CD #8366D9 #AB97E5 #D2C8F1

Accessibility & contrast

On white

4.31
#8366D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8366D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366D9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366D9#FFFFFF#000000##000000
##8366D91.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#327BDD
Deuteranopia (green-blind)
#3877D6
Tritanopia (blue-blind)
#6C7E96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8366d9;
/* rgb */ color: rgb(131, 102, 217);
/* oklch */ color: oklch(59.4% 0.169 292.1);
Tailwind
colors: {
  custom: {
    50: '#ac92e5',
    500: '#8366d9',
    950: '#000000',
  },
}
SCSS
$custom: #8366d9;
$custom-light: #ac92e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8366d9",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 217
  },
  "hsl": {
    "h": 255.13,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59396,
    "c": 0.16923,
    "h": 292.1
  },
  "luminance": 0.19338
}

Semantic roles & 50–950 ramp

primary
#8366D9
secondary
#D8E2B8
accent
#C81E9D
background
#FAF9FE
surface
#F5F1FC
border
#CFCBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #8366D9

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

Preview Lab → · Contrast checker → · Palette generator →

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