#A366E4#A366E4

#A366E4 is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.2% C 0.187 H 303.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A366E4
RGBrgb(163, 102, 228)
HSLhsl(269, 70%, 65%)
HSVhsv(269, 55%, 89%)
CMYKcmyk(28.5%, 55.3%, 0%, 10.6%)
CIE-LABlab(54.96, 48.57, -55.08)
CIE-LCHlch(54.96, 73.44, 311.41°)
OKLaboklab(63.22% 0.1043 -0.1554)
OKLCHoklch(63.22% 0.187 303.9)
XYZxyz(33.8561, 22.8908, 76.0185)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366E4 #A7E466
analogous
#6668E4 #A366E4 #E266E4
triadic
#A366E4 #E4A366 #66E4A3
tetradic
#A366E4 #E46668 #A7E466 #66E4E2
square
#A366E4 #E46668 #A7E466 #66E4E2
split-complementary
#A366E4 #E4E266 #68E466
monochromatic
#651FB0 #8432DB #A366E4 #C29AED #E2CEF6

Accessibility & contrast

On white

3.76
#A366E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#A366E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366E4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366E4#FFFFFF#000000##000000
##A366E41.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3682E8
Deuteranopia (green-blind)
#4C83E1
Tritanopia (blue-blind)
#977E9B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a366e4;
/* rgb */ color: rgb(163, 102, 228);
/* oklch */ color: oklch(63.2% 0.187 303.9);
Tailwind
colors: {
  custom: {
    50: '#c294ed',
    500: '#a366e4',
    950: '#000000',
  },
}
SCSS
$custom: #a366e4;
$custom-light: #c294ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a366e4",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 269.048,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6322,
    "c": 0.18713,
    "h": 303.9
  },
  "luminance": 0.22891
}

Semantic roles & 50–950 ramp

primary
#A366E4
secondary
#D4E9BD
accent
#D21476
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A366E4

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

Preview Lab → · Contrast checker → · Palette generator →

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