#A888F3#A888F3

#A888F3 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.1% C 0.155 H 295.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#A888F3
RGBrgb(168, 136, 243)
HSLhsl(258, 82%, 74%)
HSVhsv(258, 44%, 95%)
CMYKcmyk(30.9%, 44%, 0%, 4.7%)
CIE-LABlab(63.68, 34.75, -49.53)
CIE-LCHlch(63.68, 60.51, 305.05°)
OKLaboklab(70.08% 0.0677 -0.1391)
OKLCHoklch(70.08% 0.155 295.9)
XYZxyz(41.1263, 32.4037, 88.8644)
Luminance0.3240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A888F3 #D3F388
analogous
#889EF3 #A888F3 #DE88F3
triadic
#A888F3 #F3A888 #88F3A8
tetradic
#A888F3 #F3889E #D3F388 #88F3DE
square
#A888F3 #F3889E #D3F388 #88F3DE
split-complementary
#A888F3 #F3DE88 #9EF388
monochromatic
#5719E8 #7F50ED #A888F3 #D1C0F9 #EBE3FC

Accessibility & contrast

On white

2.81
#A888F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#A888F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A888F3
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A888F3#FFFFFF#000000##000000
##A888F31.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF7
Deuteranopia (green-blind)
#6C99F0
Tritanopia (blue-blind)
#989CB2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a888f3;
/* rgb */ color: rgb(168, 136, 243);
/* oklch */ color: oklch(70.1% 0.155 295.9);
Tailwind
colors: {
  custom: {
    50: '#c4abf7',
    500: '#a888f3',
    950: '#000000',
  },
}
SCSS
$custom: #a888f3;
$custom-light: #c4abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a888f3",
  "rgb": {
    "r": 168,
    "g": 136,
    "b": 243
  },
  "hsl": {
    "h": 257.944,
    "s": 81.679,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70085,
    "c": 0.15466,
    "h": 295.9
  },
  "luminance": 0.32404
}

Semantic roles & 50–950 ramp

primary
#A888F3
secondary
#EBF4D7
accent
#DE079E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A888F3

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

Preview Lab → · Contrast checker → · Palette generator →

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