#A864E9#A864E9

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

Color values

HEX#A864E9
RGBrgb(168, 100, 233)
HSLhsl(271, 75%, 65%)
HSVhsv(271, 57%, 91%)
CMYKcmyk(27.9%, 57.1%, 0%, 8.6%)
CIE-LABlab(55.40, 52.01, -57.14)
CIE-LCHlch(55.40, 77.27, 312.30°)
OKLaboklab(63.76% 0.1132 -0.1613)
OKLCHoklch(63.76% 0.197 305.1)
XYZxyz(35.4104, 23.3226, 79.7112)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A864E9 #A5E964
analogous
#6664E9 #A864E9 #E964E7
triadic
#A864E9 #E9A864 #64E9A8
tetradic
#A864E9 #E96664 #A5E964 #64E7E9
square
#A864E9 #E96664 #A5E964 #64E7E9
split-complementary
#A864E9 #E7E964 #64E966
monochromatic
#6B1AB8 #8A2EE1 #A864E9 #C69AF1 #E4CFF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A864E9#FFFFFF#000000##000000
##A864E91.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)
#2E83ED
Deuteranopia (green-blind)
#4A85E6
Tritanopia (blue-blind)
#9D7E9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a864e9;
/* rgb */ color: rgb(168, 100, 233);
/* oklch */ color: oklch(63.8% 0.197 305.1);
Tailwind
colors: {
  custom: {
    50: '#c593f1',
    500: '#a864e9',
    950: '#000000',
  },
}
SCSS
$custom: #a864e9;
$custom-light: #c593f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a864e9",
  "rgb": {
    "r": 168,
    "g": 100,
    "b": 233
  },
  "hsl": {
    "h": 270.677,
    "s": 75.141,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63763,
    "c": 0.19701,
    "h": 305.1
  },
  "luminance": 0.23322
}

Semantic roles & 50–950 ramp

primary
#A864E9
secondary
#D4EBBE
accent
#D70E70
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A864E9

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

Preview Lab → · Contrast checker → · Palette generator →

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