#A888F7#A888F7

#A888F7 is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.3% C 0.160 H 295.3°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#A888F7
RGBrgb(168, 136, 247)
HSLhsl(257, 87%, 75%)
HSVhsv(257, 45%, 97%)
CMYKcmyk(32%, 44.9%, 0%, 3.1%)
CIE-LABlab(63.87, 35.75, -51.42)
CIE-LCHlch(63.87, 62.63, 304.81°)
OKLaboklab(70.3% 0.0682 -0.1446)
OKLCHoklch(70.3% 0.16 295.3)
XYZxyz(41.7369, 32.6479, 92.0804)
Luminance0.3265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A888F7 #D7F788
analogous
#88A0F7 #A888F7 #DF88F7
triadic
#A888F7 #F7A888 #88F7A8
tetradic
#A888F7 #F788A0 #D7F788 #88F7DF
square
#A888F7 #F788A0 #D7F788 #88F7DF
split-complementary
#A888F7 #F7DF88 #A0F788
monochromatic
#5415EF #7E4FF3 #A888F7 #D2C1FB #EAE2FD

Accessibility & contrast

On white

2.79
#A888F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#A888F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A888F7
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A888F7#FFFFFF#000000##000000
##A888F71.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFB
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#969DB4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a888f7;
/* rgb */ color: rgb(168, 136, 247);
/* oklch */ color: oklch(70.3% 0.160 295.3);
Tailwind
colors: {
  custom: {
    50: '#c5abfa',
    500: '#a888f7',
    950: '#000000',
  },
}
SCSS
$custom: #a888f7;
$custom-light: #c5abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a888f7",
  "rgb": {
    "r": 168,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 257.297,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70301,
    "c": 0.15986,
    "h": 295.3
  },
  "luminance": 0.32649
}

Semantic roles & 50–950 ramp

primary
#A888F7
secondary
#ECF5D6
accent
#E402A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A888F7

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

Preview Lab → · Contrast checker → · Palette generator →

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