#A366D2#A366D2

#A366D2 is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.2% C 0.166 H 308.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A366D2
RGBrgb(163, 102, 210)
HSLhsl(274, 55%, 61%)
HSVhsv(274, 51%, 82%)
CMYKcmyk(22.4%, 51.4%, 0%, 17.6%)
CIE-LABlab(53.97, 44.39, -46.50)
CIE-LCHlch(53.97, 64.28, 313.67°)
OKLaboklab(62.17% 0.1032 -0.1303)
OKLCHoklch(62.17% 0.166 308.4)
XYZxyz(31.4862, 21.9428, 63.5370)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366D2 #95D266
analogous
#6D66D2 #A366D2 #D266CB
triadic
#A366D2 #D2A366 #66D2A3
tetradic
#A366D2 #D26D66 #95D266 #66CBD2
square
#A366D2 #D26D66 #95D266 #66CBD2
split-complementary
#A366D2 #CBD266 #66D26D
monochromatic
#662B93 #8639C2 #A366D2 #BF95E0 #DCC5EE

Accessibility & contrast

On white

3.90
#A366D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#A366D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366D2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366D2#FFFFFF#000000##000000
##A366D21.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#477ED6
Deuteranopia (green-blind)
#5A82CF
Tritanopia (blue-blind)
#9C7992
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a366d2;
/* rgb */ color: rgb(163, 102, 210);
/* oklch */ color: oklch(62.2% 0.166 308.4);
Tailwind
colors: {
  custom: {
    50: '#c193e0',
    500: '#a366d2',
    950: '#000000',
  },
}
SCSS
$custom: #a366d2;
$custom-light: #c193e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a366d2",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 273.889,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62166,
    "c": 0.16622,
    "h": 308.4
  },
  "luminance": 0.21942
}

Semantic roles & 50–950 ramp

primary
#A366D2
secondary
#C7DEB6
accent
#C22368
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A366D2

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

Preview Lab → · Contrast checker → · Palette generator →

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