#A866F2#A866F2

#A866F2 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.6% C 0.204 H 302.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A866F2
RGBrgb(168, 102, 242)
HSLhsl(268, 84%, 67%)
HSVhsv(268, 58%, 95%)
CMYKcmyk(30.6%, 57.9%, 0%, 5.1%)
CIE-LABlab(56.33, 53.08, -60.69)
CIE-LCHlch(56.33, 80.63, 311.17°)
OKLaboklab(64.61% 0.1108 -0.1717)
OKLCHoklch(64.61% 0.204 302.8)
XYZxyz(36.9232, 24.2384, 86.7204)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866F2 #B0F266
analogous
#666AF2 #A866F2 #EE66F2
triadic
#A866F2 #F2A866 #66F2A8
tetradic
#A866F2 #F2666A #B0F266 #66F2EE
square
#A866F2 #F2666A #B0F266 #66F2EE
split-complementary
#A866F2 #F2EE66 #6AF266
monochromatic
#6911CC #882EED #A866F2 #C89EF7 #E8D7FC

Accessibility & contrast

On white

3.59
#A866F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#A866F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866F2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866F2#FFFFFF#000000##000000
##A866F21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2486F7
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#9A82A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a866f2;
/* rgb */ color: rgb(168, 102, 242);
/* oklch */ color: oklch(64.6% 0.204 302.8);
Tailwind
colors: {
  custom: {
    50: '#c694f7',
    500: '#a866f2',
    950: '#000000',
  },
}
SCSS
$custom: #a866f2;
$custom-light: #c694f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a866f2",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 268.286,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64608,
    "c": 0.20429,
    "h": 302.8
  },
  "luminance": 0.24238
}

Semantic roles & 50–950 ramp

primary
#A866F2
secondary
#DBF0C4
accent
#E10579
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A866F2

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

Preview Lab → · Contrast checker → · Palette generator →

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