#A366D5#A366D5

#A366D5 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.3% C 0.170 H 307.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A366D5
RGBrgb(163, 102, 213)
HSLhsl(273, 57%, 62%)
HSVhsv(273, 52%, 84%)
CMYKcmyk(23.5%, 52.1%, 0%, 16.5%)
CIE-LABlab(54.13, 45.07, -47.95)
CIE-LCHlch(54.13, 65.80, 313.23°)
OKLaboklab(62.34% 0.1035 -0.1345)
OKLCHoklch(62.34% 0.17 307.6)
XYZxyz(31.8635, 22.0937, 65.5238)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366D5 #98D566
analogous
#6C66D5 #A366D5 #D566D0
triadic
#A366D5 #D5A366 #66D5A3
tetradic
#A366D5 #D56C66 #98D566 #66D0D5
square
#A366D5 #D56C66 #98D566 #66D0D5
split-complementary
#A366D5 #D0D566 #66D56C
monochromatic
#662997 #8637C7 #A366D5 #C096E2 #DDC6EF

Accessibility & contrast

On white

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

On black

5.42
#A366D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366D5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366D5#FFFFFF#000000##000000
##A366D51.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#457FD9
Deuteranopia (green-blind)
#5882D2
Tritanopia (blue-blind)
#9C7A94
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a366d5;
/* rgb */ color: rgb(163, 102, 213);
/* oklch */ color: oklch(62.3% 0.170 307.6);
Tailwind
colors: {
  custom: {
    50: '#c193e2',
    500: '#a366d5',
    950: '#000000',
  },
}
SCSS
$custom: #a366d5;
$custom-light: #c193e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a366d5",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 213
  },
  "hsl": {
    "h": 272.973,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62336,
    "c": 0.1697,
    "h": 307.6
  },
  "luminance": 0.22093
}

Semantic roles & 50–950 ramp

primary
#A366D5
secondary
#C9E0B7
accent
#C4216B
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A366D5

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

Preview Lab → · Contrast checker → · Palette generator →

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