#A868EF#A868EF

#A868EF is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.7% C 0.198 H 303.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A868EF
RGBrgb(168, 104, 239)
HSLhsl(268, 81%, 67%)
HSVhsv(268, 56%, 94%)
CMYKcmyk(29.7%, 56.5%, 0%, 6.3%)
CIE-LABlab(56.54, 51.33, -58.67)
CIE-LCHlch(56.54, 77.95, 311.18°)
OKLaboklab(64.71% 0.1083 -0.1658)
OKLCHoklch(64.71% 0.198 303.2)
XYZxyz(36.6752, 24.4575, 84.4332)
Luminance0.2446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A868EF #AFEF68
analogous
#686CEF #A868EF #EB68EF
triadic
#A868EF #EFA868 #68EFA8
tetradic
#A868EF #EF686C #AFEF68 #68EFEB
square
#A868EF #EF686C #AFEF68 #68EFEB
split-complementary
#A868EF #EFEB68 #6CEF68
monochromatic
#6A15C7 #8831E9 #A868EF #C89FF5 #E8D7FB

Accessibility & contrast

On white

3.56
#A868EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#A868EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A868EF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A868EF#FFFFFF#000000##000000
##A868EF1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F86F3
Deuteranopia (green-blind)
#4987EC
Tritanopia (blue-blind)
#9B83A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a868ef;
/* rgb */ color: rgb(168, 104, 239);
/* oklch */ color: oklch(64.7% 0.198 303.2);
Tailwind
colors: {
  custom: {
    50: '#c695f5',
    500: '#a868ef',
    950: '#000000',
  },
}
SCSS
$custom: #a868ef;
$custom-light: #c695f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a868ef",
  "rgb": {
    "r": 168,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 268.444,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64711,
    "c": 0.19801,
    "h": 303.2
  },
  "luminance": 0.24457
}

Semantic roles & 50–950 ramp

primary
#A868EF
secondary
#DBEFC4
accent
#DD0878
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A868EF

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

Preview Lab → · Contrast checker → · Palette generator →

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