#A864F7#A864F7

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

Color values

HEX#A864F7
RGBrgb(168, 100, 247)
HSLhsl(268, 90%, 68%)
HSVhsv(268, 60%, 97%)
CMYKcmyk(32%, 59.5%, 0%, 3.1%)
CIE-LABlab(56.24, 55.30, -63.60)
CIE-LCHlch(56.24, 84.28, 311.01°)
OKLaboklab(64.65% 0.113 -0.1802)
OKLCHoklch(64.65% 0.213 302.1)
XYZxyz(37.4902, 24.1545, 90.6648)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A864F7 #B3F764
analogous
#6469F7 #A864F7 #F164F7
triadic
#A864F7 #F7A864 #64F7A8
tetradic
#A864F7 #F76469 #B3F764 #64F7F1
square
#A864F7 #F76469 #B3F764 #64F7F1
split-complementary
#A864F7 #F7F164 #69F764
monochromatic
#690BD6 #872AF4 #A864F7 #C99EFA #E9D8FD

Accessibility & contrast

On white

3.60
#A864F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#A864F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A864F7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A864F7#FFFFFF#000000##000000
##A864F71.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B86FC
Deuteranopia (green-blind)
#3986F4
Tritanopia (blue-blind)
#9883A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a864f7;
/* rgb */ color: rgb(168, 100, 247);
/* oklch */ color: oklch(64.6% 0.213 302.1);
Tailwind
colors: {
  custom: {
    50: '#c693fb',
    500: '#a864f7',
    950: '#000000',
  },
}
SCSS
$custom: #a864f7;
$custom-light: #c693fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a864f7",
  "rgb": {
    "r": 168,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 267.755,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64645,
    "c": 0.21273,
    "h": 302.1
  },
  "luminance": 0.24155
}

Semantic roles & 50–950 ramp

primary
#A864F7
secondary
#DDF2C5
accent
#E6007B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A864F7

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

Preview Lab → · Contrast checker → · Palette generator →

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