#A865EA#A865EA

#A865EA is a light, vivid violet. Relative luminance 0.236; OKLCH L 64.0% C 0.197 H 304.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A865EA
RGBrgb(168, 101, 234)
HSLhsl(270, 76%, 66%)
HSVhsv(270, 57%, 92%)
CMYKcmyk(28.2%, 56.8%, 0%, 8.2%)
CIE-LABlab(55.66, 51.72, -57.30)
CIE-LCHlch(55.66, 77.19, 312.07°)
OKLaboklab(63.97% 0.1119 -0.1617)
OKLCHoklch(63.97% 0.197 304.7)
XYZxyz(35.6502, 23.5729, 80.4979)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A865EA #A7EA65
analogous
#6565EA #A865EA #EA65E9
triadic
#A865EA #EAA865 #65EAA8
tetradic
#A865EA #EA6565 #A7EA65 #65E9EA
square
#A865EA #EA6565 #A7EA65 #65E9EA
split-complementary
#A865EA #E9EA65 #65EA65
monochromatic
#6B1ABB #8A2FE3 #A865EA #C69BF1 #E5D1F9

Accessibility & contrast

On white

3.67
#A865EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#A865EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A865EA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A865EA#FFFFFF#000000##000000
##A865EA1.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F83EE
Deuteranopia (green-blind)
#4A85E7
Tritanopia (blue-blind)
#9C7F9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a865ea;
/* rgb */ color: rgb(168, 101, 234);
/* oklch */ color: oklch(64.0% 0.197 304.7);
Tailwind
colors: {
  custom: {
    50: '#c593f1',
    500: '#a865ea',
    950: '#000000',
  },
}
SCSS
$custom: #a865ea;
$custom-light: #c593f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a865ea",
  "rgb": {
    "r": 168,
    "g": 101,
    "b": 234
  },
  "hsl": {
    "h": 270.226,
    "s": 76,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63968,
    "c": 0.19668,
    "h": 304.7
  },
  "luminance": 0.23573
}

Semantic roles & 50–950 ramp

primary
#A865EA
secondary
#D5ECBF
accent
#D80D72
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A865EA

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

Preview Lab → · Contrast checker → · Palette generator →

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