#A888FD#A888FD

#A888FD is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.6% C 0.168 H 294.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#A888FD
RGBrgb(168, 136, 253)
HSLhsl(256, 97%, 76%)
HSVhsv(256, 46%, 99%)
CMYKcmyk(33.6%, 46.2%, 0%, 0.8%)
CIE-LABlab(64.18, 37.27, -54.22)
CIE-LCHlch(64.18, 65.80, 304.50°)
OKLaboklab(70.63% 0.069 -0.1528)
OKLCHoklch(70.63% 0.168 294.3)
XYZxyz(42.6777, 33.0242, 97.0353)
Luminance0.3302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A888FD #DDFD88
analogous
#88A3FD #A888FD #E388FD
triadic
#A888FD #FDA888 #88FDA8
tetradic
#A888FD #FD88A3 #DDFD88 #88FDE3
square
#A888FD #FD88A3 #DDFD88 #88FDE3
split-complementary
#A888FD #FDE388 #A3FD88
monochromatic
#5010FB #7C4CFC #A888FD #D4C4FE #E9E1FE

Accessibility & contrast

On white

2.76
#A888FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#A888FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A888FD
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A888FD#FFFFFF#000000##000000
##A888FD1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#669AFA
Tritanopia (blue-blind)
#949EB6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a888fd;
/* rgb */ color: rgb(168, 136, 253);
/* oklch */ color: oklch(70.6% 0.168 294.3);
Tailwind
colors: {
  custom: {
    50: '#c5abfe',
    500: '#a888fd',
    950: '#000000',
  },
}
SCSS
$custom: #a888fd;
$custom-light: #c5abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a888fd",
  "rgb": {
    "r": 168,
    "g": 136,
    "b": 253
  },
  "hsl": {
    "h": 256.41,
    "s": 96.694,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7063,
    "c": 0.16762,
    "h": 294.3
  },
  "luminance": 0.33025
}

Semantic roles & 50–950 ramp

primary
#A888FD
secondary
#EDF7D4
accent
#E600A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A888FD

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

Preview Lab → · Contrast checker → · Palette generator →

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