#A864F2#A864F2

#A864F2 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.3% C 0.207 H 303.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A864F2
RGBrgb(168, 100, 242)
HSLhsl(269, 85%, 67%)
HSVhsv(269, 59%, 95%)
CMYKcmyk(30.6%, 58.7%, 0%, 5.1%)
CIE-LABlab(55.94, 54.11, -61.31)
CIE-LCHlch(55.94, 81.78, 311.43°)
OKLaboklab(64.33% 0.1131 -0.1735)
OKLCHoklch(64.33% 0.207 303.1)
XYZxyz(36.7290, 23.8500, 86.6557)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A864F2 #AEF264
analogous
#6467F2 #A864F2 #EF64F2
triadic
#A864F2 #F2A864 #64F2A8
tetradic
#A864F2 #F26467 #AEF264 #64F2EF
square
#A864F2 #F26467 #AEF264 #64F2EF
split-complementary
#A864F2 #F2EF64 #67F264
monochromatic
#6A11CB #882CED #A864F2 #C89CF7 #E7D5FB

Accessibility & contrast

On white

3.64
#A864F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#A864F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A864F2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A864F2#FFFFFF#000000##000000
##A864F21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C85F7
Deuteranopia (green-blind)
#4086EF
Tritanopia (blue-blind)
#9A81A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a864f2;
/* rgb */ color: rgb(168, 100, 242);
/* oklch */ color: oklch(64.3% 0.207 303.1);
Tailwind
colors: {
  custom: {
    50: '#c693f7',
    500: '#a864f2',
    950: '#000000',
  },
}
SCSS
$custom: #a864f2;
$custom-light: #c693f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a864f2",
  "rgb": {
    "r": 168,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 268.732,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64325,
    "c": 0.20713,
    "h": 303.1
  },
  "luminance": 0.2385
}

Semantic roles & 50–950 ramp

primary
#A864F2
secondary
#DAEFC2
accent
#E10577
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A864F2

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

Preview Lab → · Contrast checker → · Palette generator →

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