#A864FD#A864FD

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

Color values

HEX#A864FD
RGBrgb(168, 100, 253)
HSLhsl(267, 97%, 69%)
HSVhsv(267, 60%, 99%)
CMYKcmyk(33.6%, 60.5%, 0%, 0.8%)
CIE-LABlab(56.62, 56.73, -66.33)
CIE-LCHlch(56.62, 87.28, 310.54°)
OKLaboklab(65.04% 0.1128 -0.1882)
OKLCHoklch(65.04% 0.219 300.9)
XYZxyz(38.4310, 24.5308, 95.6197)
Luminance0.2453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A864FD #B9FD64
analogous
#646DFD #A864FD #F564FD
triadic
#A864FD #FDA864 #64FDA8
tetradic
#A864FD #FD646D #B9FD64 #64FDF5
square
#A864FD #FD646D #B9FD64 #64FDF5
split-complementary
#A864FD #FDF564 #6DFD64
monochromatic
#6703E4 #8628FC #A864FD #CAA0FE #ECDDFF

Accessibility & contrast

On white

3.56
#A864FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A864FD#FFFFFF#000000##000000
##A864FD1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#3087FA
Tritanopia (blue-blind)
#9685A7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a864fd;
/* rgb */ color: rgb(168, 100, 253);
/* oklch */ color: oklch(65.0% 0.219 300.9);
Tailwind
colors: {
  custom: {
    50: '#c793ff',
    500: '#a864fd',
    950: '#000000',
  },
}
SCSS
$custom: #a864fd;
$custom-light: #c793ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a864fd",
  "rgb": {
    "r": 168,
    "g": 100,
    "b": 253
  },
  "hsl": {
    "h": 266.667,
    "s": 97.452,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65035,
    "c": 0.21944,
    "h": 300.9
  },
  "luminance": 0.24531
}

Semantic roles & 50–950 ramp

primary
#A864FD
secondary
#E1F5C8
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #A864FD

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

Preview Lab → · Contrast checker → · Palette generator →

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