#A366EB#A366EB

#A366EB is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.6% C 0.195 H 302.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A366EB
RGBrgb(163, 102, 235)
HSLhsl(268, 77%, 66%)
HSVhsv(268, 57%, 92%)
CMYKcmyk(30.6%, 56.6%, 0%, 7.8%)
CIE-LABlab(55.37, 50.24, -58.35)
CIE-LCHlch(55.37, 77.00, 310.73°)
OKLaboklab(63.65% 0.1044 -0.165)
OKLCHoklch(63.65% 0.195 302.3)
XYZxyz(34.8476, 23.2874, 81.2402)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366EB #AEEB66
analogous
#666BEB #A366EB #E666EB
triadic
#A366EB #EBA366 #66EBA3
tetradic
#A366EB #EB666B #AEEB66 #66EBE6
square
#A366EB #EB666B #AEEB66 #66EBE6
split-complementary
#A366EB #EBE666 #6BEB66
monochromatic
#6419BE #8230E4 #A366EB #C49CF2 #E4D2F9

Accessibility & contrast

On white

3.71
#A366EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#A366EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366EB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366EB#FFFFFF#000000##000000
##A366EB1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C83EF
Deuteranopia (green-blind)
#4584E8
Tritanopia (blue-blind)
#95809F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a366eb;
/* rgb */ color: rgb(163, 102, 235);
/* oklch */ color: oklch(63.6% 0.195 302.3);
Tailwind
colors: {
  custom: {
    50: '#c294f2',
    500: '#a366eb',
    950: '#000000',
  },
}
SCSS
$custom: #a366eb;
$custom-light: #c294f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a366eb",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 267.519,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6365,
    "c": 0.19524,
    "h": 302.3
  },
  "luminance": 0.23287
}

Semantic roles & 50–950 ramp

primary
#A366EB
secondary
#D8ECC1
accent
#D90C7B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A366EB

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

Preview Lab → · Contrast checker → · Palette generator →

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