#A28EEF#A28EEF

#A28EEF is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.4% C 0.140 H 291.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#A28EEF
RGBrgb(162, 142, 239)
HSLhsl(252, 75%, 75%)
HSVhsv(252, 41%, 94%)
CMYKcmyk(32.2%, 40.6%, 0%, 6.3%)
CIE-LABlab(64.37, 28.74, -46.27)
CIE-LCHlch(64.37, 54.47, 301.85°)
OKLaboklab(70.42% 0.0521 -0.1297)
OKLCHoklch(70.42% 0.14 291.9)
XYZxyz(40.1493, 33.2586, 85.9488)
Luminance0.3326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28EEF #DBEF8E
analogous
#8EABEF #A28EEF #D38EEF
triadic
#A28EEF #EFA28E #8EEFA2
tetradic
#A28EEF #EF8EAB #DBEF8E #8EEFD3
square
#A28EEF #EF8EAB #DBEF8E #8EEFD3
split-complementary
#A28EEF #EFD38E #ABEF8E
monochromatic
#4A23E0 #7658E7 #A28EEF #CEC4F7 #E9E4FB

Accessibility & contrast

On white

2.74
#A28EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#A28EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28EEF
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28EEF#FFFFFF#000000##000000
##A28EEF1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF3
Deuteranopia (green-blind)
#729AED
Tritanopia (blue-blind)
#90A0B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a28eef;
/* rgb */ color: rgb(162, 142, 239);
/* oklch */ color: oklch(70.4% 0.140 291.9);
Tailwind
colors: {
  custom: {
    50: '#c0aff4',
    500: '#a28eef',
    950: '#000000',
  },
}
SCSS
$custom: #a28eef;
$custom-light: #c0aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#a28eef",
  "rgb": {
    "r": 162,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 252.371,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70421,
    "c": 0.13978,
    "h": 291.9
  },
  "luminance": 0.33259
}

Semantic roles & 50–950 ramp

primary
#A28EEF
secondary
#EDF3D8
accent
#D70EAE
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A28EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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