#8366C2#8366C2

#8366C2 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.0% C 0.139 H 296.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8366C2
RGBrgb(131, 102, 194)
HSLhsl(259, 43%, 58%)
HSVhsv(259, 47%, 76%)
CMYKcmyk(32.5%, 47.4%, 0%, 23.9%)
CIE-LABlab(49.77, 31.88, -44.22)
CIE-LCHlch(49.77, 54.52, 305.79°)
OKLaboklab(57.99% 0.0617 -0.1245)
OKLCHoklch(57.99% 0.139 296.3)
XYZxyz(23.8466, 18.2227, 53.2895)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366C2 #A5C266
analogous
#6677C2 #8366C2 #B166C2
triadic
#8366C2 #C28366 #66C283
tetradic
#8366C2 #C26677 #A5C266 #66C2B1
square
#8366C2 #C26677 #A5C266 #66C2B1
split-complementary
#8366C2 #C2B166 #77C266
monochromatic
#49317C #6343A8 #8366C2 #A692D3 #CABEE5

Accessibility & contrast

On white

4.52
#8366C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8366C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366C2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366C2#FFFFFF#000000##000000
##8366C21.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#4D75C0
Tritanopia (blue-blind)
#75778B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8366c2;
/* rgb */ color: rgb(131, 102, 194);
/* oklch */ color: oklch(58.0% 0.139 296.3);
Tailwind
colors: {
  custom: {
    50: '#aa92d5',
    500: '#8366c2',
    950: '#000000',
  },
}
SCSS
$custom: #8366c2;
$custom-light: #aa92d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8366c2",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 194
  },
  "hsl": {
    "h": 258.913,
    "s": 42.991,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57991,
    "c": 0.13892,
    "h": 296.3
  },
  "luminance": 0.18223
}

Semantic roles & 50–950 ramp

primary
#8366C2
secondary
#C9D4B0
accent
#D355AB
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #8366C2

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

Preview Lab → · Contrast checker → · Palette generator →

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