#A366E8#A366E8

#A366E8 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.5% C 0.192 H 303.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A366E8
RGBrgb(163, 102, 232)
HSLhsl(268, 74%, 65%)
HSVhsv(268, 56%, 91%)
CMYKcmyk(29.7%, 56%, 0%, 9%)
CIE-LABlab(55.19, 49.53, -56.95)
CIE-LCHlch(55.19, 75.48, 311.01°)
OKLaboklab(63.47% 0.1044 -0.1609)
OKLCHoklch(63.47% 0.192 303)
XYZxyz(34.4178, 23.1155, 78.9768)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366E8 #ABE866
analogous
#666AE8 #A366E8 #E466E8
triadic
#A366E8 #E8A366 #66E8A3
tetradic
#A366E8 #E8666A #ABE866 #66E8E4
square
#A366E8 #E8666A #ABE866 #66E8E4
split-complementary
#A366E8 #E8E466 #6AE866
monochromatic
#651CB8 #8331E0 #A366E8 #C39BF0 #E3D0F8

Accessibility & contrast

On white

3.73
#A366E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#A366E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366E8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366E8#FFFFFF#000000##000000
##A366E81.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3183EC
Deuteranopia (green-blind)
#4884E5
Tritanopia (blue-blind)
#96809D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a366e8;
/* rgb */ color: rgb(163, 102, 232);
/* oklch */ color: oklch(63.5% 0.192 303.0);
Tailwind
colors: {
  custom: {
    50: '#c294f0',
    500: '#a366e8',
    950: '#000000',
  },
}
SCSS
$custom: #a366e8;
$custom-light: #c294f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a366e8",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 268.154,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63465,
    "c": 0.19177,
    "h": 303
  },
  "luminance": 0.23115
}

Semantic roles & 50–950 ramp

primary
#A366E8
secondary
#D6EBBF
accent
#D61079
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A366E8

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

Preview Lab → · Contrast checker → · Palette generator →

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