#A866FF#A866FF

#A866FF is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.4% C 0.219 H 300.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A866FF
RGBrgb(168, 102, 255)
HSLhsl(266, 100%, 70%)
HSVhsv(266, 60%, 100%)
CMYKcmyk(34.1%, 60%, 0%, 0%)
CIE-LABlab(57.12, 56.19, -66.62)
CIE-LCHlch(57.12, 87.15, 310.15°)
OKLaboklab(65.44% 0.1105 -0.1891)
OKLCHoklch(65.44% 0.219 300.3)
XYZxyz(38.9455, 25.0473, 97.3712)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866FF #BDFF66
analogous
#6671FF #A866FF #F466FF
triadic
#A866FF #FFA866 #66FFA8
tetradic
#A866FF #FF6671 #BDFF66 #66FFF4
square
#A866FF #FF6671 #BDFF66 #66FFF4
split-complementary
#A866FF #FFF466 #71FF66
monochromatic
#6500EB #8529FF #A866FF #CBA3FF #EEE0FF

Accessibility & contrast

On white

3.49
#A866FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#A866FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866FF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866FF#FFFFFF#000000##000000
##A866FF1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#3188FC
Tritanopia (blue-blind)
#9587A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a866ff;
/* rgb */ color: rgb(168, 102, 255);
/* oklch */ color: oklch(65.4% 0.219 300.3);
Tailwind
colors: {
  custom: {
    50: '#c794ff',
    500: '#a866ff',
    950: '#000000',
  },
}
SCSS
$custom: #a866ff;
$custom-light: #c794ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a866ff",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 265.882,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.65443,
    "c": 0.21898,
    "h": 300.3
  },
  "luminance": 0.25048
}

Semantic roles & 50–950 ramp

primary
#A866FF
secondary
#E3F6CB
accent
#E60083
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #A866FF

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

Preview Lab → · Contrast checker → · Palette generator →

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