#A366DC#A366DC

#A366DC is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.7% C 0.178 H 305.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#A366DC
RGBrgb(163, 102, 220)
HSLhsl(271, 63%, 63%)
HSVhsv(271, 54%, 86%)
CMYKcmyk(25.9%, 53.6%, 0%, 13.7%)
CIE-LABlab(54.51, 46.69, -51.30)
CIE-LCHlch(54.51, 69.37, 312.31°)
OKLaboklab(62.74% 0.104 -0.1443)
OKLCHoklch(62.74% 0.178 305.8)
XYZxyz(32.7712, 22.4568, 70.3044)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366DC #9FDC66
analogous
#6866DC #A366DC #DC66DA
triadic
#A366DC #DCA366 #66DCA3
tetradic
#A366DC #DC6866 #9FDC66 #66DADC
square
#A366DC #DC6866 #9FDC66 #66DADC
split-complementary
#A366DC #DADC66 #66DC68
monochromatic
#6625A2 #8534D1 #A366DC #C198E7 #DFCAF3

Accessibility & contrast

On white

3.82
#A366DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#A366DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366DC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366DC#FFFFFF#000000##000000
##A366DC1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80E0
Deuteranopia (green-blind)
#5383D9
Tritanopia (blue-blind)
#9A7C97
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a366dc;
/* rgb */ color: rgb(163, 102, 220);
/* oklch */ color: oklch(62.7% 0.178 305.8);
Tailwind
colors: {
  custom: {
    50: '#c194e7',
    500: '#a366dc',
    950: '#000000',
  },
}
SCSS
$custom: #a366dc;
$custom-light: #c194e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a366dc",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 271.017,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62742,
    "c": 0.17784,
    "h": 305.8
  },
  "luminance": 0.22457
}

Semantic roles & 50–950 ramp

primary
#A366DC
secondary
#CEE4BA
accent
#CB1B70
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A366DC

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

Preview Lab → · Contrast checker → · Palette generator →

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