#A866CD#A866CD

#A866CD is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.4% C 0.162 H 312.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A866CD
RGBrgb(168, 102, 205)
HSLhsl(278, 51%, 60%)
HSVhsv(278, 50%, 80%)
CMYKcmyk(18%, 50.2%, 0%, 19.6%)
CIE-LABlab(54.28, 44.62, -43.13)
CIE-LCHlch(54.28, 62.05, 315.98°)
OKLaboklab(62.44% 0.1089 -0.1203)
OKLCHoklch(62.44% 0.162 312.1)
XYZxyz(31.9173, 22.2360, 60.3564)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866CD #8BCD66
analogous
#7566CD #A866CD #CD66BE
triadic
#A866CD #CDA866 #66CDA8
tetradic
#A866CD #CD7566 #8BCD66 #66BECD
square
#A866CD #CD7566 #8BCD66 #66BECD
split-complementary
#A866CD #BECD66 #66CD75
monochromatic
#692D8B #8C3DB9 #A866CD #C294DC #DCC2EB

Accessibility & contrast

On white

3.86
#A866CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#A866CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866CD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866CD#FFFFFF#000000##000000
##A866CD1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED1
Deuteranopia (green-blind)
#6183CA
Tritanopia (blue-blind)
#A47790
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a866cd;
/* rgb */ color: rgb(168, 102, 205);
/* oklch */ color: oklch(62.4% 0.162 312.1);
Tailwind
colors: {
  custom: {
    50: '#c494dd',
    500: '#a866cd',
    950: '#000000',
  },
}
SCSS
$custom: #a866cd;
$custom-light: #c494dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a866cd",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 278.447,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62438,
    "c": 0.16229,
    "h": 312.1
  },
  "luminance": 0.22235
}

Semantic roles & 50–950 ramp

primary
#A866CD
secondary
#C2DBB4
accent
#BE275E
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A866CD

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

Preview Lab → · Contrast checker → · Palette generator →

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