#A366EC#A366EC

#A366EC is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.7% C 0.196 H 302.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A366EC
RGBrgb(163, 102, 236)
HSLhsl(267, 78%, 66%)
HSVhsv(267, 57%, 93%)
CMYKcmyk(30.9%, 56.8%, 0%, 7.5%)
CIE-LABlab(55.43, 50.48, -58.82)
CIE-LCHlch(55.43, 77.51, 310.64°)
OKLaboklab(63.71% 0.1045 -0.1663)
OKLCHoklch(63.71% 0.196 302.1)
XYZxyz(34.9925, 23.3453, 82.0032)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366EC #AFEC66
analogous
#666CEC #A366EC #E666EC
triadic
#A366EC #ECA366 #66ECA3
tetradic
#A366EC #EC666C #AFEC66 #66ECE6
square
#A366EC #EC666C #AFEC66 #66ECE6
split-complementary
#A366EC #ECE666 #6CEC66
monochromatic
#6418C0 #8230E5 #A366EC #C49CF3 #E4D3FA

Accessibility & contrast

On white

3.70
#A366EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#A366EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366EC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366EC#FFFFFF#000000##000000
##A366EC1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B84F0
Deuteranopia (green-blind)
#4484E9
Tritanopia (blue-blind)
#95819F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a366ec;
/* rgb */ color: rgb(163, 102, 236);
/* oklch */ color: oklch(63.7% 0.196 302.1);
Tailwind
colors: {
  custom: {
    50: '#c294f3',
    500: '#a366ec',
    950: '#000000',
  },
}
SCSS
$custom: #a366ec;
$custom-light: #c294f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a366ec",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 267.313,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63713,
    "c": 0.1964,
    "h": 302.1
  },
  "luminance": 0.23345
}

Semantic roles & 50–950 ramp

primary
#A366EC
secondary
#D9EDC1
accent
#DA0B7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A366EC

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

Preview Lab → · Contrast checker → · Palette generator →

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