#A861EB#A861EB

#A861EB is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.5% C 0.204 H 305.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A861EB
RGBrgb(168, 97, 235)
HSLhsl(271, 78%, 65%)
HSVhsv(271, 59%, 92%)
CMYKcmyk(28.5%, 58.7%, 0%, 7.8%)
CIE-LABlab(54.94, 54.01, -59.00)
CIE-LCHlch(54.94, 79.99, 312.47°)
OKLaboklab(63.46% 0.1168 -0.1667)
OKLCHoklch(63.46% 0.204 305)
XYZxyz(35.4153, 22.8726, 81.1303)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A861EB #A4EB61
analogous
#6361EB #A861EB #EB61E9
triadic
#A861EB #EBA861 #61EBA8
tetradic
#A861EB #EB6361 #A4EB61 #61E9EB
square
#A861EB #EB6361 #A4EB61 #61E9EB
split-complementary
#A861EB #E9EB61 #61EB63
monochromatic
#6B18BA #8A2BE4 #A861EB #C697F2 #E4CEF9

Accessibility & contrast

On white

3.77
#A861EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A861EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A861EB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A861EB#FFFFFF#000000##000000
##A861EB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2181EF
Deuteranopia (green-blind)
#4484E8
Tritanopia (blue-blind)
#9C7C9D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a861eb;
/* rgb */ color: rgb(168, 97, 235);
/* oklch */ color: oklch(63.5% 0.204 305.0);
Tailwind
colors: {
  custom: {
    50: '#c691f2',
    500: '#a861eb',
    950: '#000000',
  },
}
SCSS
$custom: #a861eb;
$custom-light: #c691f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a861eb",
  "rgb": {
    "r": 168,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 270.87,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63463,
    "c": 0.20357,
    "h": 305
  },
  "luminance": 0.22872
}

Semantic roles & 50–950 ramp

primary
#A861EB
secondary
#D3EBBD
accent
#DA0C70
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A861EB

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

Preview Lab → · Contrast checker → · Palette generator →

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