#A866F7#A866F7

#A866F7 is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 64.9% C 0.210 H 301.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A866F7
RGBrgb(168, 102, 247)
HSLhsl(267, 90%, 68%)
HSVhsv(267, 59%, 97%)
CMYKcmyk(32%, 58.7%, 0%, 3.1%)
CIE-LABlab(56.63, 54.27, -62.98)
CIE-LCHlch(56.63, 83.14, 310.75°)
OKLaboklab(64.93% 0.1107 -0.1784)
OKLCHoklch(64.93% 0.21 301.8)
XYZxyz(37.6844, 24.5429, 90.7296)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866F7 #B5F766
analogous
#666CF7 #A866F7 #F066F7
triadic
#A866F7 #F7A866 #66F7A8
tetradic
#A866F7 #F7666C #B5F766 #66F7F0
square
#A866F7 #F7666C #B5F766 #66F7F0
split-complementary
#A866F7 #F7F066 #6CF766
monochromatic
#680BD7 #872CF4 #A866F7 #C9A0FA #EADAFD

Accessibility & contrast

On white

3.55
#A866F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#A866F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866F7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866F7#FFFFFF#000000##000000
##A866F71.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1887FC
Deuteranopia (green-blind)
#3D87F4
Tritanopia (blue-blind)
#9884A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a866f7;
/* rgb */ color: rgb(168, 102, 247);
/* oklch */ color: oklch(64.9% 0.210 301.8);
Tailwind
colors: {
  custom: {
    50: '#c694fb',
    500: '#a866f7',
    950: '#000000',
  },
}
SCSS
$custom: #a866f7;
$custom-light: #c694fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a866f7",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 267.31,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64925,
    "c": 0.20996,
    "h": 301.8
  },
  "luminance": 0.24543
}

Semantic roles & 50–950 ramp

primary
#A866F7
secondary
#DEF2C7
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A866F7

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

Preview Lab → · Contrast checker → · Palette generator →

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