#A868EA#A868EA

#A868EA is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.4% C 0.192 H 304.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A868EA
RGBrgb(168, 104, 234)
HSLhsl(270, 76%, 66%)
HSVhsv(270, 56%, 92%)
CMYKcmyk(28.2%, 55.6%, 0%, 8.2%)
CIE-LABlab(56.25, 50.15, -56.34)
CIE-LCHlch(56.25, 75.43, 311.67°)
OKLaboklab(64.41% 0.1082 -0.1589)
OKLCHoklch(64.41% 0.192 304.3)
XYZxyz(35.9468, 24.1661, 80.5967)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A868EA #AAEA68
analogous
#6869EA #A868EA #E968EA
triadic
#A868EA #EAA868 #68EAA8
tetradic
#A868EA #EA6869 #AAEA68 #68EAE9
square
#A868EA #EA6869 #AAEA68 #68EAE9
split-complementary
#A868EA #EAE968 #69EA68
monochromatic
#6B1ABD #8932E3 #A868EA #C79EF1 #E6D3F9

Accessibility & contrast

On white

3.60
#A868EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#A868EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A868EA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A868EA#FFFFFF#000000##000000
##A868EA1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3685EE
Deuteranopia (green-blind)
#4E87E7
Tritanopia (blue-blind)
#9C819F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a868ea;
/* rgb */ color: rgb(168, 104, 234);
/* oklch */ color: oklch(64.4% 0.192 304.3);
Tailwind
colors: {
  custom: {
    50: '#c595f1',
    500: '#a868ea',
    950: '#000000',
  },
}
SCSS
$custom: #a868ea;
$custom-light: #c595f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a868ea",
  "rgb": {
    "r": 168,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 269.538,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64405,
    "c": 0.19228,
    "h": 304.3
  },
  "luminance": 0.24166
}

Semantic roles & 50–950 ramp

primary
#A868EA
secondary
#D7ECC2
accent
#D80E74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A868EA

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

Preview Lab → · Contrast checker → · Palette generator →

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