#A366EF#A366EF

#A366EF is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.9% C 0.200 H 301.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A366EF
RGBrgb(163, 102, 239)
HSLhsl(267, 81%, 67%)
HSVhsv(267, 57%, 94%)
CMYKcmyk(31.8%, 57.3%, 0%, 6.3%)
CIE-LABlab(55.61, 51.21, -60.20)
CIE-LCHlch(55.61, 79.04, 310.38°)
OKLaboklab(63.9% 0.1045 -0.1704)
OKLCHoklch(63.9% 0.2 301.5)
XYZxyz(35.4320, 23.5211, 84.3180)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366EF #B2EF66
analogous
#666EEF #A366EF #E766EF
triadic
#A366EF #EFA366 #66EFA3
tetradic
#A366EF #EF666E #B2EF66 #66EFE7
square
#A366EF #EF666E #B2EF66 #66EFE7
split-complementary
#A366EF #EFE766 #6EEF66
monochromatic
#6415C6 #822FE9 #A366EF #C49DF5 #E6D5FB

Accessibility & contrast

On white

3.68
#A366EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#A366EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366EF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366EF#FFFFFF#000000##000000
##A366EF1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2584F3
Deuteranopia (green-blind)
#4185EC
Tritanopia (blue-blind)
#9482A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a366ef;
/* rgb */ color: rgb(163, 102, 239);
/* oklch */ color: oklch(63.9% 0.200 301.5);
Tailwind
colors: {
  custom: {
    50: '#c294f5',
    500: '#a366ef',
    950: '#000000',
  },
}
SCSS
$custom: #a366ef;
$custom-light: #c294f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a366ef",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 266.715,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63901,
    "c": 0.19987,
    "h": 301.5
  },
  "luminance": 0.23521
}

Semantic roles & 50–950 ramp

primary
#A366EF
secondary
#DBEEC2
accent
#DD087E
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A366EF

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

Preview Lab → · Contrast checker → · Palette generator →

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