#A866F5#A866F5

#A866F5 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.8% C 0.208 H 302.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A866F5
RGBrgb(168, 102, 245)
HSLhsl(268, 88%, 68%)
HSVhsv(268, 58%, 96%)
CMYKcmyk(31.4%, 58.4%, 0%, 3.9%)
CIE-LABlab(56.51, 53.79, -62.07)
CIE-LCHlch(56.51, 82.14, 310.92°)
OKLaboklab(64.8% 0.1107 -0.1757)
OKLCHoklch(64.8% 0.208 302.2)
XYZxyz(37.3774, 24.4201, 89.1129)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866F5 #B3F566
analogous
#666BF5 #A866F5 #EF66F5
triadic
#A866F5 #F5A866 #66F5A8
tetradic
#A866F5 #F5666B #B3F566 #66F5EF
square
#A866F5 #F5666B #B3F566 #66F5EF
split-complementary
#A866F5 #F5EF66 #6BF566
monochromatic
#690ED3 #872DF1 #A866F5 #C99FF9 #E9D9FD

Accessibility & contrast

On white

3.57
#A866F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#A866F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866F5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866F5#FFFFFF#000000##000000
##A866F51.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D86FA
Deuteranopia (green-blind)
#3F87F2
Tritanopia (blue-blind)
#9983A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a866f5;
/* rgb */ color: rgb(168, 102, 245);
/* oklch */ color: oklch(64.8% 0.208 302.2);
Tailwind
colors: {
  custom: {
    50: '#c694f9',
    500: '#a866f5',
    950: '#000000',
  },
}
SCSS
$custom: #a866f5;
$custom-light: #c694f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a866f5",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 267.692,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64798,
    "c": 0.20769,
    "h": 302.2
  },
  "luminance": 0.2442
}

Semantic roles & 50–950 ramp

primary
#A866F5
secondary
#DDF1C6
accent
#E4017B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A866F5

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

Preview Lab → · Contrast checker → · Palette generator →

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