#A88EF1#A88EF1

#A88EF1 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.0% C 0.143 H 294.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#A88EF1
RGBrgb(168, 142, 241)
HSLhsl(256, 78%, 75%)
HSVhsv(256, 41%, 95%)
CMYKcmyk(30.3%, 41.1%, 0%, 5.5%)
CIE-LABlab(64.98, 30.86, -46.37)
CIE-LCHlch(64.98, 55.71, 303.65°)
OKLaboklab(71.04% 0.0594 -0.1299)
OKLCHoklch(71.04% 0.143 294.6)
XYZxyz(41.6947, 34.0211, 87.5721)
Luminance0.3402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88EF1 #D7F18E
analogous
#8EA5F1 #A88EF1 #DA8EF1
triadic
#A88EF1 #F1A88E #8EF1A8
tetradic
#A88EF1 #F18EA5 #D7F18E #8EF1DA
square
#A88EF1 #F18EA5 #D7F18E #8EF1DA
split-complementary
#A88EF1 #F1DA8E #A5F18E
monochromatic
#5421E4 #7E58EA #A88EF1 #D2C4F8 #EAE4FC

Accessibility & contrast

On white

2.69
#A88EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#A88EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A88EF1
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A88EF1#FFFFFF#000000##000000
##A88EF11.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF5
Deuteranopia (green-blind)
#749CEF
Tritanopia (blue-blind)
#98A0B4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a88ef1;
/* rgb */ color: rgb(168, 142, 241);
/* oklch */ color: oklch(71.0% 0.143 294.6);
Tailwind
colors: {
  custom: {
    50: '#c4aff6',
    500: '#a88ef1',
    950: '#000000',
  },
}
SCSS
$custom: #a88ef1;
$custom-light: #c4aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#a88ef1",
  "rgb": {
    "r": 168,
    "g": 142,
    "b": 241
  },
  "hsl": {
    "h": 255.758,
    "s": 77.953,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71039,
    "c": 0.14282,
    "h": 294.6
  },
  "luminance": 0.34022
}

Semantic roles & 50–950 ramp

primary
#A88EF1
secondary
#ECF3D8
accent
#DA0BA4
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #A88EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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