#A864EB#A864EB

#A864EB is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.9% C 0.199 H 304.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A864EB
RGBrgb(168, 100, 235)
HSLhsl(270, 77%, 66%)
HSVhsv(270, 57%, 92%)
CMYKcmyk(28.5%, 57.4%, 0%, 7.8%)
CIE-LABlab(55.52, 52.47, -58.08)
CIE-LCHlch(55.52, 78.27, 312.10°)
OKLaboklab(63.89% 0.1132 -0.164)
OKLCHoklch(63.89% 0.199 304.6)
XYZxyz(35.6977, 23.4375, 81.2244)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A864EB #A7EB64
analogous
#6464EB #A864EB #EB64EB
triadic
#A864EB #EBA864 #64EBA8
tetradic
#A864EB #EB6464 #A7EB64 #64EBEB
square
#A864EB #EB6464 #A7EB64 #64EBEB
split-complementary
#A864EB #EBEB64 #64EB64
monochromatic
#6B18BC #8A2EE4 #A864EB #C69AF2 #E5D0F9

Accessibility & contrast

On white

3.69
#A864EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#A864EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A864EB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A864EB#FFFFFF#000000##000000
##A864EB1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A83EF
Deuteranopia (green-blind)
#4885E8
Tritanopia (blue-blind)
#9C7F9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a864eb;
/* rgb */ color: rgb(168, 100, 235);
/* oklch */ color: oklch(63.9% 0.199 304.6);
Tailwind
colors: {
  custom: {
    50: '#c693f2',
    500: '#a864eb',
    950: '#000000',
  },
}
SCSS
$custom: #a864eb;
$custom-light: #c693f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a864eb",
  "rgb": {
    "r": 168,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 270.222,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63886,
    "c": 0.19926,
    "h": 304.6
  },
  "luminance": 0.23437
}

Semantic roles & 50–950 ramp

primary
#A864EB
secondary
#D5ECBF
accent
#D90C72
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A864EB

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

Preview Lab → · Contrast checker → · Palette generator →

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