#A366E1#A366E1

#A366E1 is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.0% C 0.184 H 304.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A366E1
RGBrgb(163, 102, 225)
HSLhsl(270, 67%, 64%)
HSVhsv(270, 55%, 88%)
CMYKcmyk(27.6%, 54.7%, 0%, 11.8%)
CIE-LABlab(54.79, 47.86, -53.67)
CIE-LCHlch(54.79, 71.91, 311.73°)
OKLaboklab(63.04% 0.1042 -0.1512)
OKLCHoklch(63.04% 0.184 304.6)
XYZxyz(33.4433, 22.7257, 73.8442)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366E1 #A4E166
analogous
#6667E1 #A366E1 #E066E1
triadic
#A366E1 #E1A366 #66E1A3
tetradic
#A366E1 #E16667 #A4E166 #66E1E0
square
#A366E1 #E16667 #A4E166 #66E1E0
split-complementary
#A366E1 #E1E066 #67E166
monochromatic
#6622AB #8433D7 #A366E1 #C299EB #E1CCF5

Accessibility & contrast

On white

3.79
#A366E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#A366E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366E1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366E1#FFFFFF#000000##000000
##A366E11.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3981E5
Deuteranopia (green-blind)
#4F83DE
Tritanopia (blue-blind)
#987D9A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a366e1;
/* rgb */ color: rgb(163, 102, 225);
/* oklch */ color: oklch(63.0% 0.184 304.6);
Tailwind
colors: {
  custom: {
    50: '#c194eb',
    500: '#a366e1',
    950: '#000000',
  },
}
SCSS
$custom: #a366e1;
$custom-light: #c194eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a366e1",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 225
  },
  "hsl": {
    "h": 269.756,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63039,
    "c": 0.18365,
    "h": 304.6
  },
  "luminance": 0.22726
}

Semantic roles & 50–950 ramp

primary
#A366E1
secondary
#D2E7BC
accent
#CF1674
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A366E1

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

Preview Lab → · Contrast checker → · Palette generator →

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