#A864F8#A864F8

#A864F8 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.7% C 0.214 H 301.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A864F8
RGBrgb(168, 100, 248)
HSLhsl(268, 91%, 68%)
HSVhsv(268, 60%, 97%)
CMYKcmyk(32.3%, 59.7%, 0%, 2.7%)
CIE-LABlab(56.30, 55.54, -64.06)
CIE-LCHlch(56.30, 84.78, 310.92°)
OKLaboklab(64.71% 0.113 -0.1816)
OKLCHoklch(64.71% 0.214 301.9)
XYZxyz(37.6449, 24.2164, 91.4797)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A864F8 #B4F864
analogous
#646AF8 #A864F8 #F264F8
triadic
#A864F8 #F8A864 #64F8A8
tetradic
#A864F8 #F8646A #B4F864 #64F8F2
square
#A864F8 #F8646A #B4F864 #64F8F2
split-complementary
#A864F8 #F8F264 #6AF864
monochromatic
#680AD8 #8729F5 #A864F8 #C99FFB #EAD9FD

Accessibility & contrast

On white

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

On black

5.84
#A864F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A864F8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A864F8#FFFFFF#000000##000000
##A864F81.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0586FD
Deuteranopia (green-blind)
#3886F5
Tritanopia (blue-blind)
#9883A5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a864f8;
/* rgb */ color: rgb(168, 100, 248);
/* oklch */ color: oklch(64.7% 0.214 301.9);
Tailwind
colors: {
  custom: {
    50: '#c693fb',
    500: '#a864f8',
    950: '#000000',
  },
}
SCSS
$custom: #a864f8;
$custom-light: #c693fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a864f8",
  "rgb": {
    "r": 168,
    "g": 100,
    "b": 248
  },
  "hsl": {
    "h": 267.568,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64709,
    "c": 0.21385,
    "h": 301.9
  },
  "luminance": 0.24216
}

Semantic roles & 50–950 ramp

primary
#A864F8
secondary
#DEF2C5
accent
#E6007C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A864F8

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

Preview Lab → · Contrast checker → · Palette generator →

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