#A866F4#A866F4

#A866F4 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.7% C 0.207 H 302.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A866F4
RGBrgb(168, 102, 244)
HSLhsl(268, 87%, 68%)
HSVhsv(268, 58%, 96%)
CMYKcmyk(31.1%, 58.2%, 0%, 4.3%)
CIE-LABlab(56.45, 53.56, -61.61)
CIE-LCHlch(56.45, 81.63, 311.00°)
OKLaboklab(64.74% 0.1107 -0.1744)
OKLCHoklch(64.74% 0.207 302.4)
XYZxyz(37.2252, 24.3592, 88.3111)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866F4 #B2F466
analogous
#666BF4 #A866F4 #EF66F4
triadic
#A866F4 #F4A866 #66F4A8
tetradic
#A866F4 #F4666B #B2F466 #66F4EF
square
#A866F4 #F4666B #B2F466 #66F4EF
split-complementary
#A866F4 #F4EF66 #6BF466
monochromatic
#690FD1 #882DF0 #A866F4 #C89FF8 #E9D8FC

Accessibility & contrast

On white

3.58
#A866F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#A866F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866F4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866F4#FFFFFF#000000##000000
##A866F41.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2086F9
Deuteranopia (green-blind)
#4087F1
Tritanopia (blue-blind)
#9983A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a866f4;
/* rgb */ color: rgb(168, 102, 244);
/* oklch */ color: oklch(64.7% 0.207 302.4);
Tailwind
colors: {
  custom: {
    50: '#c694f8',
    500: '#a866f4',
    950: '#000000',
  },
}
SCSS
$custom: #a866f4;
$custom-light: #c694f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a866f4",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 267.887,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64735,
    "c": 0.20656,
    "h": 302.4
  },
  "luminance": 0.24359
}

Semantic roles & 50–950 ramp

primary
#A866F4
secondary
#DCF1C5
accent
#E3027B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A866F4

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

Preview Lab → · Contrast checker → · Palette generator →

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