#A88EFD#A88EFD

#A88EFD is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.7% C 0.159 H 292.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A88EFD
RGBrgb(168, 142, 253)
HSLhsl(254, 97%, 77%)
HSVhsv(254, 44%, 99%)
CMYKcmyk(33.6%, 43.9%, 0%, 0.8%)
CIE-LABlab(65.56, 33.89, -52.03)
CIE-LCHlch(65.56, 62.10, 303.08°)
OKLaboklab(71.67% 0.0613 -0.1464)
OKLCHoklch(71.67% 0.159 292.7)
XYZxyz(43.5465, 34.7618, 97.3249)
Luminance0.3476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88EFD #E3FD8E
analogous
#8EACFD #A88EFD #DF8EFD
triadic
#A88EFD #FDA88E #8EFDA8
tetradic
#A88EFD #FD8EAC #E3FD8E #8EFDDF
square
#A88EFD #FD8EAC #E3FD8E #8EFDDF
split-complementary
#A88EFD #FDDF8E #ACFD8E
monochromatic
#4B16FB #7A52FC #A88EFD #D6CAFE #E8E1FE

Accessibility & contrast

On white

2.64
#A88EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#A88EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A88EFD
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A88EFD#FFFFFF#000000##000000
##A88EFD1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#6D9DFA
Tritanopia (blue-blind)
#94A3B9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a88efd;
/* rgb */ color: rgb(168, 142, 253);
/* oklch */ color: oklch(71.7% 0.159 292.7);
Tailwind
colors: {
  custom: {
    50: '#c5affe',
    500: '#a88efd',
    950: '#000000',
  },
}
SCSS
$custom: #a88efd;
$custom-light: #c5affe;
$custom-dark: #000000;
JSON
{
  "hex": "#a88efd",
  "rgb": {
    "r": 168,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 254.054,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7167,
    "c": 0.15868,
    "h": 292.7
  },
  "luminance": 0.34763
}

Semantic roles & 50–950 ramp

primary
#A88EFD
secondary
#EFF7D4
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A88EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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