#A888FA#A888FA

#A888FA is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.5% C 0.164 H 294.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#A888FA
RGBrgb(168, 136, 250)
HSLhsl(257, 92%, 76%)
HSVhsv(257, 46%, 98%)
CMYKcmyk(32.8%, 45.6%, 0%, 2%)
CIE-LABlab(64.03, 36.51, -52.82)
CIE-LCHlch(64.03, 64.21, 304.65°)
OKLaboklab(70.46% 0.0686 -0.1487)
OKLCHoklch(70.46% 0.164 294.8)
XYZxyz(42.2036, 32.8346, 94.5381)
Luminance0.3283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A888FA #DAFA88
analogous
#88A1FA #A888FA #E188FA
triadic
#A888FA #FAA888 #88FAA8
tetradic
#A888FA #FA88A1 #DAFA88 #88FAE1
square
#A888FA #FA88A1 #DAFA88 #88FAE1
split-complementary
#A888FA #FAE188 #A1FA88
monochromatic
#5213F5 #7D4DF8 #A888FA #D3C3FC #EAE2FE

Accessibility & contrast

On white

2.78
#A888FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#A888FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A888FA
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A888FA#FFFFFF#000000##000000
##A888FA1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#6899F7
Tritanopia (blue-blind)
#959EB5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a888fa;
/* rgb */ color: rgb(168, 136, 250);
/* oklch */ color: oklch(70.5% 0.164 294.8);
Tailwind
colors: {
  custom: {
    50: '#c5abfc',
    500: '#a888fa',
    950: '#000000',
  },
}
SCSS
$custom: #a888fa;
$custom-light: #c5abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a888fa",
  "rgb": {
    "r": 168,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 256.842,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70464,
    "c": 0.16374,
    "h": 294.8
  },
  "luminance": 0.32835
}

Semantic roles & 50–950 ramp

primary
#A888FA
secondary
#EDF6D5
accent
#E600A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A888FA

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

Preview Lab → · Contrast checker → · Palette generator →

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