#A288EB#A288EB

#A288EB is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.1% C 0.144 H 294.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#A288EB
RGBrgb(162, 136, 235)
HSLhsl(256, 71%, 73%)
HSVhsv(256, 42%, 92%)
CMYKcmyk(31.1%, 42.1%, 0%, 7.8%)
CIE-LABlab(62.75, 31.14, -46.62)
CIE-LCHlch(62.75, 56.06, 303.74°)
OKLaboklab(69.13% 0.0594 -0.1307)
OKLCHoklch(69.13% 0.144 294.4)
XYZxyz(38.6961, 31.2872, 82.5815)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A288EB #D1EB88
analogous
#889FEB #A288EB #D488EB
triadic
#A288EB #EBA288 #88EBA2
tetradic
#A288EB #EB889F #D1EB88 #88EBD4
square
#A288EB #EB889F #D1EB88 #88EBD4
split-complementary
#A288EB #EBD488 #9FEB88
monochromatic
#5224D5 #7954E2 #A288EB #CBBCF4 #EBE5FB

Accessibility & contrast

On white

2.89
#A288EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#A288EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A288EB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A288EB#FFFFFF#000000##000000
##A288EB1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#6E96E9
Tritanopia (blue-blind)
#929AAE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a288eb;
/* rgb */ color: rgb(162, 136, 235);
/* oklch */ color: oklch(69.1% 0.144 294.4);
Tailwind
colors: {
  custom: {
    50: '#c0abf2',
    500: '#a288eb',
    950: '#000000',
  },
}
SCSS
$custom: #a288eb;
$custom-light: #c0abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a288eb",
  "rgb": {
    "r": 162,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 255.758,
    "s": 71.223,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69131,
    "c": 0.14357,
    "h": 294.4
  },
  "luminance": 0.31288
}

Semantic roles & 50–950 ramp

primary
#A288EB
secondary
#ECF2D9
accent
#D312A1
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A288EB

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

Preview Lab → · Contrast checker → · Palette generator →

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