#A865FD#A865FD

#A865FD is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.2% C 0.218 H 300.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A865FD
RGBrgb(168, 101, 253)
HSLhsl(266, 97%, 69%)
HSVhsv(266, 60%, 99%)
CMYKcmyk(33.6%, 60.1%, 0%, 0.8%)
CIE-LABlab(56.81, 56.22, -66.02)
CIE-LCHlch(56.81, 86.72, 310.42°)
OKLaboklab(65.17% 0.1117 -0.1873)
OKLCHoklch(65.17% 0.218 300.8)
XYZxyz(38.5275, 24.7238, 95.6519)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A865FD #BAFD65
analogous
#656EFD #A865FD #F465FD
triadic
#A865FD #FDA865 #65FDA8
tetradic
#A865FD #FD656E #BAFD65 #65FDF4
square
#A865FD #FD656E #BAFD65 #65FDF4
split-complementary
#A865FD #FDF465 #6EFD65
monochromatic
#6603E5 #8629FC #A865FD #CAA1FE #ECDEFF

Accessibility & contrast

On white

3.53
#A865FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#A865FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A865FD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A865FD#FFFFFF#000000##000000
##A865FD1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#3287FA
Tritanopia (blue-blind)
#9685A8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a865fd;
/* rgb */ color: rgb(168, 101, 253);
/* oklch */ color: oklch(65.2% 0.218 300.8);
Tailwind
colors: {
  custom: {
    50: '#c794ff',
    500: '#a865fd',
    950: '#000000',
  },
}
SCSS
$custom: #a865fd;
$custom-light: #c794ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a865fd",
  "rgb": {
    "r": 168,
    "g": 101,
    "b": 253
  },
  "hsl": {
    "h": 266.447,
    "s": 97.436,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65173,
    "c": 0.21809,
    "h": 300.8
  },
  "luminance": 0.24724
}

Semantic roles & 50–950 ramp

primary
#A865FD
secondary
#E1F5C9
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A865FD

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

Preview Lab → · Contrast checker → · Palette generator →

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