#A164EC#A164EC

#A164EC is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.2% C 0.199 H 301.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A164EC
RGBrgb(161, 100, 236)
HSLhsl(267, 78%, 66%)
HSVhsv(267, 58%, 93%)
CMYKcmyk(31.8%, 57.6%, 0%, 7.5%)
CIE-LABlab(54.81, 51.07, -59.81)
CIE-LCHlch(54.81, 78.65, 310.49°)
OKLaboklab(63.21% 0.1043 -0.1693)
OKLCHoklch(63.21% 0.199 301.6)
XYZxyz(34.3919, 22.7474, 81.9194)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A164EC #AFEC64
analogous
#646BEC #A164EC #E564EC
triadic
#A164EC #ECA164 #64ECA1
tetradic
#A164EC #EC646B #AFEC64 #64ECE5
square
#A164EC #EC646B #AFEC64 #64ECE5
split-complementary
#A164EC #ECE564 #6BEC64
monochromatic
#6217BE #802DE5 #A164EC #C29BF3 #E3D1F9

Accessibility & contrast

On white

3.78
#A164EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#A164EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A164EC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A164EC#FFFFFF#000000##000000
##A164EC1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382F0
Deuteranopia (green-blind)
#3F83E9
Tritanopia (blue-blind)
#92809F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a164ec;
/* rgb */ color: rgb(161, 100, 236);
/* oklch */ color: oklch(63.2% 0.199 301.6);
Tailwind
colors: {
  custom: {
    50: '#c192f3',
    500: '#a164ec',
    950: '#000000',
  },
}
SCSS
$custom: #a164ec;
$custom-light: #c192f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a164ec",
  "rgb": {
    "r": 161,
    "g": 100,
    "b": 236
  },
  "hsl": {
    "h": 266.912,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63213,
    "c": 0.19888,
    "h": 301.6
  },
  "luminance": 0.22748
}

Semantic roles & 50–950 ramp

primary
#A164EC
secondary
#D8ECBF
accent
#DA0B7D
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A164EC

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

Preview Lab → · Contrast checker → · Palette generator →

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