#A366CC#A366CC

#A366CC is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.8% C 0.159 H 310.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A366CC
RGBrgb(163, 102, 204)
HSLhsl(276, 50%, 60%)
HSVhsv(276, 50%, 80%)
CMYKcmyk(20.1%, 50%, 0%, 20%)
CIE-LABlab(53.65, 43.03, -43.58)
CIE-LCHlch(53.65, 61.24, 314.63°)
OKLaboklab(61.83% 0.1027 -0.1218)
OKLCHoklch(61.83% 0.159 310.1)
XYZxyz(30.7527, 21.6494, 59.6738)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366CC #8FCC66
analogous
#7066CC #A366CC #CC66C2
triadic
#A366CC #CCA366 #66CCA3
tetradic
#A366CC #CC7066 #8FCC66 #66C2CC
square
#A366CC #CC7066 #8FCC66 #66C2CC
split-complementary
#A366CC #C2CC66 #66CC70
monochromatic
#652E8A #863DB8 #A366CC #BF94DB #DAC2EB

Accessibility & contrast

On white

3.94
#A366CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#A366CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366CC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366CC#FFFFFF#000000##000000
##A366CC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DD0
Deuteranopia (green-blind)
#5E81C9
Tritanopia (blue-blind)
#9E7790
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a366cc;
/* rgb */ color: rgb(163, 102, 204);
/* oklch */ color: oklch(61.8% 0.159 310.1);
Tailwind
colors: {
  custom: {
    50: '#c093dc',
    500: '#a366cc',
    950: '#000000',
  },
}
SCSS
$custom: #a366cc;
$custom-light: #c093dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a366cc",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 275.882,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.61832,
    "c": 0.15927,
    "h": 310.1
  },
  "luminance": 0.21649
}

Semantic roles & 50–950 ramp

primary
#A366CC
secondary
#C3DBB3
accent
#DA4E86
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A366CC

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

Preview Lab → · Contrast checker → · Palette generator →

#A366CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva