#A366E7#A366E7

#A366E7 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.4% C 0.191 H 303.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A366E7
RGBrgb(163, 102, 231)
HSLhsl(268, 73%, 65%)
HSVhsv(268, 56%, 91%)
CMYKcmyk(29.4%, 55.8%, 0%, 9.4%)
CIE-LABlab(55.13, 49.29, -56.49)
CIE-LCHlch(55.13, 74.97, 311.11°)
OKLaboklab(63.4% 0.1044 -0.1595)
OKLCHoklch(63.4% 0.191 303.2)
XYZxyz(34.2762, 23.0588, 78.2309)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366E7 #AAE766
analogous
#6669E7 #A366E7 #E366E7
triadic
#A366E7 #E7A366 #66E7A3
tetradic
#A366E7 #E76669 #AAE766 #66E7E3
square
#A366E7 #E76669 #AAE766 #66E7E3
split-complementary
#A366E7 #E7E366 #69E766
monochromatic
#651DB6 #8331DF #A366E7 #C39BEF #E3D0F8

Accessibility & contrast

On white

3.74
#A366E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#A366E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366E7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366E7#FFFFFF#000000##000000
##A366E71.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3283EB
Deuteranopia (green-blind)
#4984E4
Tritanopia (blue-blind)
#967F9D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a366e7;
/* rgb */ color: rgb(163, 102, 231);
/* oklch */ color: oklch(63.4% 0.191 303.2);
Tailwind
colors: {
  custom: {
    50: '#c294ef',
    500: '#a366e7',
    950: '#000000',
  },
}
SCSS
$custom: #a366e7;
$custom-light: #c294ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a366e7",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 268.372,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63403,
    "c": 0.19061,
    "h": 303.2
  },
  "luminance": 0.23059
}

Semantic roles & 50–950 ramp

primary
#A366E7
secondary
#D6EABF
accent
#D51178
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A366E7

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

Preview Lab → · Contrast checker → · Palette generator →

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