#A866DE#A866DE

#A866DE is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.4% C 0.182 H 307.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A866DE
RGBrgb(168, 102, 222)
HSLhsl(273, 65%, 64%)
HSVhsv(273, 54%, 87%)
CMYKcmyk(24.3%, 54.1%, 0%, 12.9%)
CIE-LABlab(55.18, 48.42, -51.33)
CIE-LCHlch(55.18, 70.56, 313.33°)
OKLaboklab(63.4% 0.1103 -0.1442)
OKLCHoklch(63.4% 0.182 307.4)
XYZxyz(34.0820, 23.1019, 71.7567)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866DE #9CDE66
analogous
#6C66DE #A866DE #DE66D8
triadic
#A866DE #DEA866 #66DEA8
tetradic
#A866DE #DE6C66 #9CDE66 #66D8DE
square
#A866DE #DE6C66 #9CDE66 #66D8DE
split-complementary
#A866DE #D8DE66 #66DE6C
monochromatic
#6B24A6 #8B34D3 #A866DE #C598E9 #E1CBF4

Accessibility & contrast

On white

3.74
#A866DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#A866DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866DE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866DE#FFFFFF#000000##000000
##A866DE1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F82E2
Deuteranopia (green-blind)
#5585DB
Tritanopia (blue-blind)
#A07C98
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a866de;
/* rgb */ color: rgb(168, 102, 222);
/* oklch */ color: oklch(63.4% 0.182 307.4);
Tailwind
colors: {
  custom: {
    50: '#c594e9',
    500: '#a866de',
    950: '#000000',
  },
}
SCSS
$custom: #a866de;
$custom-light: #c594e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a866de",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 222
  },
  "hsl": {
    "h": 273,
    "s": 64.516,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63396,
    "c": 0.18157,
    "h": 307.4
  },
  "luminance": 0.23101
}

Semantic roles & 50–950 ramp

primary
#A866DE
secondary
#CEE5BB
accent
#CC196A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A866DE

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

Preview Lab → · Contrast checker → · Palette generator →

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