#A366DF#A366DF

#A366DF is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.9% C 0.181 H 305.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A366DF
RGBrgb(163, 102, 223)
HSLhsl(270, 65%, 64%)
HSVhsv(270, 54%, 87%)
CMYKcmyk(26.9%, 54.3%, 0%, 12.5%)
CIE-LABlab(54.68, 47.39, -52.72)
CIE-LCHlch(54.68, 70.89, 311.95°)
OKLaboklab(62.92% 0.1041 -0.1485)
OKLCHoklch(62.92% 0.181 305)
XYZxyz(33.1720, 22.6172, 72.4157)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366DF #A2DF66
analogous
#6666DF #A366DF #DF66DE
triadic
#A366DF #DFA366 #66DFA3
tetradic
#A366DF #DF6666 #A2DF66 #66DEDF
square
#A366DF #DF6666 #A2DF66 #66DEDF
split-complementary
#A366DF #DEDF66 #66DF66
monochromatic
#6623A8 #8533D4 #A366DF #C199EA #E0CBF4

Accessibility & contrast

On white

3.80
#A366DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#A366DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366DF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366DF#FFFFFF#000000##000000
##A366DF1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B81E3
Deuteranopia (green-blind)
#5083DC
Tritanopia (blue-blind)
#997D99
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a366df;
/* rgb */ color: rgb(163, 102, 223);
/* oklch */ color: oklch(62.9% 0.181 305.0);
Tailwind
colors: {
  custom: {
    50: '#c194e9',
    500: '#a366df',
    950: '#000000',
  },
}
SCSS
$custom: #a366df;
$custom-light: #c194e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a366df",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 270.248,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6292,
    "c": 0.18133,
    "h": 305
  },
  "luminance": 0.22617
}

Semantic roles & 50–950 ramp

primary
#A366DF
secondary
#D0E6BB
accent
#CD1872
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A366DF

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

Preview Lab → · Contrast checker → · Palette generator →

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