#A366E2#A366E2

#A366E2 is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.1% C 0.185 H 304.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A366E2
RGBrgb(163, 102, 226)
HSLhsl(270, 68%, 64%)
HSVhsv(270, 55%, 89%)
CMYKcmyk(27.9%, 54.9%, 0%, 11.4%)
CIE-LABlab(54.85, 48.10, -54.14)
CIE-LCHlch(54.85, 72.42, 311.62°)
OKLaboklab(63.1% 0.1042 -0.1526)
OKLCHoklch(63.1% 0.185 304.3)
XYZxyz(33.5801, 22.7804, 74.5647)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366E2 #A5E266
analogous
#6667E2 #A366E2 #E166E2
triadic
#A366E2 #E2A366 #66E2A3
tetradic
#A366E2 #E26667 #A5E266 #66E2E1
square
#A366E2 #E26667 #A5E266 #66E2E1
split-complementary
#A366E2 #E2E166 #67E266
monochromatic
#6621AD #8433D8 #A366E2 #C299EC #E1CDF6

Accessibility & contrast

On white

3.78
#A366E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#A366E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366E2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366E2#FFFFFF#000000##000000
##A366E21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3882E6
Deuteranopia (green-blind)
#4E83DF
Tritanopia (blue-blind)
#987E9A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a366e2;
/* rgb */ color: rgb(163, 102, 226);
/* oklch */ color: oklch(63.1% 0.185 304.3);
Tailwind
colors: {
  custom: {
    50: '#c194ec',
    500: '#a366e2',
    950: '#000000',
  },
}
SCSS
$custom: #a366e2;
$custom-light: #c194ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a366e2",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 269.516,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63099,
    "c": 0.18482,
    "h": 304.3
  },
  "luminance": 0.2278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A366E2

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

Preview Lab → · Contrast checker → · Palette generator →

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