#A288DC#A288DC

#A288DC is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.4% C 0.123 H 297.3°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A288DC
RGBrgb(162, 136, 220)
HSLhsl(259, 55%, 70%)
HSVhsv(259, 38%, 86%)
CMYKcmyk(26.4%, 38.2%, 0%, 13.7%)
CIE-LABlab(62.05, 27.42, -39.39)
CIE-LCHlch(62.05, 48.00, 304.84°)
OKLaboklab(68.37% 0.0566 -0.1098)
OKLCHoklch(68.37% 0.124 297.3)
XYZxyz(36.6197, 30.4567, 71.6457)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A288DC #C2DC88
analogous
#8898DC #A288DC #CC88DC
triadic
#A288DC #DCA288 #88DCA2
tetradic
#A288DC #DC8898 #C2DC88 #88DCCC
square
#A288DC #DC8898 #C2DC88 #88DCCC
split-complementary
#A288DC #DCCC88 #98DC88
monochromatic
#5D35B5 #7D59CE #A288DC #C7B7EA #ECE7F8

Accessibility & contrast

On white

2.96
#A288DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#A288DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A288DC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A288DC#FFFFFF#000000##000000
##A288DC1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DF
Deuteranopia (green-blind)
#7695DA
Tritanopia (blue-blind)
#9696A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a288dc;
/* rgb */ color: rgb(162, 136, 220);
/* oklch */ color: oklch(68.4% 0.123 297.3);
Tailwind
colors: {
  custom: {
    50: '#bfabe7',
    500: '#a288dc',
    950: '#000000',
  },
}
SCSS
$custom: #a288dc;
$custom-light: #bfabe7;
$custom-dark: #000000;
JSON
{
  "hex": "#a288dc",
  "rgb": {
    "r": 162,
    "g": 136,
    "b": 220
  },
  "hsl": {
    "h": 258.571,
    "s": 54.545,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68368,
    "c": 0.1235,
    "h": 297.3
  },
  "luminance": 0.30457
}

Semantic roles & 50–950 ramp

primary
#A288DC
secondary
#E4ECD4
accent
#C22391
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A288DC

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

Preview Lab → · Contrast checker → · Palette generator →

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