#A868EC#A868EC

#A868EC is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.5% C 0.195 H 303.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A868EC
RGBrgb(168, 104, 236)
HSLhsl(269, 78%, 67%)
HSVhsv(269, 56%, 93%)
CMYKcmyk(28.8%, 55.9%, 0%, 7.5%)
CIE-LABlab(56.37, 50.62, -57.28)
CIE-LCHlch(56.37, 76.44, 311.47°)
OKLaboklab(64.53% 0.1083 -0.1617)
OKLCHoklch(64.53% 0.195 303.8)
XYZxyz(36.2357, 24.2817, 82.1185)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A868EC #ACEC68
analogous
#686AEC #A868EC #EA68EC
triadic
#A868EC #ECA868 #68ECA8
tetradic
#A868EC #EC686A #ACEC68 #68ECEA
square
#A868EC #EC686A #ACEC68 #68ECEA
split-complementary
#A868EC #ECEA68 #6AEC68
monochromatic
#6A18C1 #8932E5 #A868EC #C79EF3 #E7D5FA

Accessibility & contrast

On white

3.59
#A868EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#A868EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A868EC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A868EC#FFFFFF#000000##000000
##A868EC1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3386F0
Deuteranopia (green-blind)
#4C87E9
Tritanopia (blue-blind)
#9C82A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a868ec;
/* rgb */ color: rgb(168, 104, 236);
/* oklch */ color: oklch(64.5% 0.195 303.8);
Tailwind
colors: {
  custom: {
    50: '#c595f3',
    500: '#a868ec',
    950: '#000000',
  },
}
SCSS
$custom: #a868ec;
$custom-light: #c595f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a868ec",
  "rgb": {
    "r": 168,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 269.091,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64527,
    "c": 0.19457,
    "h": 303.8
  },
  "luminance": 0.24282
}

Semantic roles & 50–950 ramp

primary
#A868EC
secondary
#D9EDC3
accent
#DA0C76
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A868EC

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

Preview Lab → · Contrast checker → · Palette generator →

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