#A866FA#A866FA

#A866FA is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.1% C 0.213 H 301.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#A866FA
RGBrgb(168, 102, 250)
HSLhsl(267, 94%, 69%)
HSVhsv(267, 59%, 98%)
CMYKcmyk(32.8%, 59.2%, 0%, 2%)
CIE-LABlab(56.81, 54.99, -64.35)
CIE-LCHlch(56.81, 84.65, 310.51°)
OKLaboklab(65.12% 0.1106 -0.1824)
OKLCHoklch(65.12% 0.213 301.2)
XYZxyz(38.1511, 24.7295, 93.1873)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866FA #B8FA66
analogous
#666EFA #A866FA #F266FA
triadic
#A866FA #FAA866 #66FAA8
tetradic
#A866FA #FA666E #B8FA66 #66FAF2
square
#A866FA #FA666E #B8FA66 #66FAF2
split-complementary
#A866FA #FAF266 #6EFA66
monochromatic
#6707DE #862BF8 #A866FA #CAA1FC #EBDDFE

Accessibility & contrast

On white

3.53
#A866FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#A866FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866FA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866FA#FFFFFF#000000##000000
##A866FA1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C87FF
Deuteranopia (green-blind)
#3988F7
Tritanopia (blue-blind)
#9785A7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a866fa;
/* rgb */ color: rgb(168, 102, 250);
/* oklch */ color: oklch(65.1% 0.213 301.2);
Tailwind
colors: {
  custom: {
    50: '#c694fd',
    500: '#a866fa',
    950: '#000000',
  },
}
SCSS
$custom: #a866fa;
$custom-light: #c694fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a866fa",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 266.757,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65118,
    "c": 0.21334,
    "h": 301.2
  },
  "luminance": 0.2473
}

Semantic roles & 50–950 ramp

primary
#A866FA
secondary
#E0F4C8
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A866FA

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

Preview Lab → · Contrast checker → · Palette generator →

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