#8366D6#8366D6

#8366D6 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.2% C 0.165 H 292.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8366D6
RGBrgb(131, 102, 214)
HSLhsl(256, 58%, 62%)
HSVhsv(256, 52%, 84%)
CMYKcmyk(38.8%, 52.3%, 0%, 16.1%)
CIE-LABlab(50.90, 37.23, -53.85)
CIE-LCHlch(50.90, 65.47, 304.66°)
OKLaboklab(59.21% 0.0634 -0.1527)
OKLCHoklch(59.21% 0.165 292.6)
XYZxyz(26.2458, 19.1824, 65.9250)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366D6 #B9D666
analogous
#6681D6 #8366D6 #BB66D6
triadic
#8366D6 #D68366 #66D683
tetradic
#8366D6 #D66681 #B9D666 #66D6BB
square
#8366D6 #D66681 #B9D666 #66D6BB
split-complementary
#8366D6 #D6BB66 #81D666
monochromatic
#462999 #5C36C9 #8366D6 #AA96E3 #D1C7F0

Accessibility & contrast

On white

4.34
#8366D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8366D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366D6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366D6#FFFFFF#000000##000000
##8366D61.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#367BDA
Deuteranopia (green-blind)
#3B77D3
Tritanopia (blue-blind)
#6E7D94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8366d6;
/* rgb */ color: rgb(131, 102, 214);
/* oklch */ color: oklch(59.2% 0.165 292.6);
Tailwind
colors: {
  custom: {
    50: '#ab92e3',
    500: '#8366d6',
    950: '#000000',
  },
}
SCSS
$custom: #8366d6;
$custom-light: #ab92e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8366d6",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 214
  },
  "hsl": {
    "h": 255.536,
    "s": 57.732,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59205,
    "c": 0.16534,
    "h": 292.6
  },
  "luminance": 0.19183
}

Semantic roles & 50–950 ramp

primary
#8366D6
secondary
#D6E1B7
accent
#C5209B
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D15
muted
#7F7E84

Preview Lab

Preview with #8366D6

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

Preview Lab → · Contrast checker → · Palette generator →

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