#A28EEE#A28EEE

#A28EEE is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.4% C 0.138 H 292.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#A28EEE
RGBrgb(162, 142, 238)
HSLhsl(253, 74%, 75%)
HSVhsv(253, 40%, 93%)
CMYKcmyk(31.9%, 40.3%, 0%, 6.7%)
CIE-LABlab(64.32, 28.48, -45.79)
CIE-LCHlch(64.32, 53.93, 301.88°)
OKLaboklab(70.37% 0.0519 -0.1283)
OKLCHoklch(70.37% 0.138 292)
XYZxyz(40.0020, 33.1996, 85.1730)
Luminance0.3320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28EEE #DAEE8E
analogous
#8EAAEE #A28EEE #D28EEE
triadic
#A28EEE #EEA28E #8EEEA2
tetradic
#A28EEE #EE8EAA #DAEE8E #8EEED2
square
#A28EEE #EE8EAA #DAEE8E #8EEED2
split-complementary
#A28EEE #EED28E #AAEE8E
monochromatic
#4A24DE #7659E6 #A28EEE #CEC3F6 #E9E4FB

Accessibility & contrast

On white

2.75
#A28EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#A28EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28EEE
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28EEE#FFFFFF#000000##000000
##A28EEE1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF2
Deuteranopia (green-blind)
#739AEC
Tritanopia (blue-blind)
#90A0B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a28eee;
/* rgb */ color: rgb(162, 142, 238);
/* oklch */ color: oklch(70.4% 0.138 292.0);
Tailwind
colors: {
  custom: {
    50: '#c0aff4',
    500: '#a28eee',
    950: '#000000',
  },
}
SCSS
$custom: #a28eee;
$custom-light: #c0aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#a28eee",
  "rgb": {
    "r": 162,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 252.5,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7037,
    "c": 0.13844,
    "h": 292
  },
  "luminance": 0.332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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