#A366D4#A366D4

#A366D4 is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.3% C 0.169 H 307.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A366D4
RGBrgb(163, 102, 212)
HSLhsl(273, 56%, 62%)
HSVhsv(273, 52%, 83%)
CMYKcmyk(23.1%, 51.9%, 0%, 16.9%)
CIE-LABlab(54.07, 44.84, -47.46)
CIE-LCHlch(54.07, 65.30, 313.37°)
OKLaboklab(62.28% 0.1034 -0.1331)
OKLCHoklch(62.28% 0.169 307.8)
XYZxyz(31.7369, 22.0431, 64.8574)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366D4 #97D466
analogous
#6C66D4 #A366D4 #D466CE
triadic
#A366D4 #D4A366 #66D4A3
tetradic
#A366D4 #D46C66 #97D466 #66CED4
square
#A366D4 #D46C66 #97D466 #66CED4
split-complementary
#A366D4 #CED466 #66D46C
monochromatic
#662A96 #8637C5 #A366D4 #C096E1 #DCC6EF

Accessibility & contrast

On white

3.88
#A366D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#A366D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366D4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366D4#FFFFFF#000000##000000
##A366D41.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#467FD8
Deuteranopia (green-blind)
#5982D1
Tritanopia (blue-blind)
#9C7993
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a366d4;
/* rgb */ color: rgb(163, 102, 212);
/* oklch */ color: oklch(62.3% 0.169 307.8);
Tailwind
colors: {
  custom: {
    50: '#c193e2',
    500: '#a366d4',
    950: '#000000',
  },
}
SCSS
$custom: #a366d4;
$custom-light: #c193e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a366d4",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 212
  },
  "hsl": {
    "h": 273.273,
    "s": 56.122,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62279,
    "c": 0.16854,
    "h": 307.8
  },
  "luminance": 0.22043
}

Semantic roles & 50–950 ramp

primary
#A366D4
secondary
#C9DFB6
accent
#C4226A
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A366D4

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

Preview Lab → · Contrast checker → · Palette generator →

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