#A28EED#A28EED

#A28EED is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.3% C 0.137 H 292.2°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#A28EED
RGBrgb(162, 142, 237)
HSLhsl(253, 73%, 74%)
HSVhsv(253, 40%, 93%)
CMYKcmyk(31.6%, 40.1%, 0%, 7.1%)
CIE-LABlab(64.27, 28.23, -45.32)
CIE-LCHlch(64.27, 53.39, 301.92°)
OKLaboklab(70.32% 0.0517 -0.1269)
OKLCHoklch(70.32% 0.137 292.2)
XYZxyz(39.8555, 33.1410, 84.4014)
Luminance0.3314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28EED #D9ED8E
analogous
#8EAAED #A28EED #D28EED
triadic
#A28EED #EDA28E #8EEDA2
tetradic
#A28EED #ED8EAA #D9ED8E #8EEDD2
square
#A28EED #ED8EAA #D9ED8E #8EEDD2
split-complementary
#A28EED #EDD28E #AAED8E
monochromatic
#4B24DC #7759E5 #A28EED #CDC3F5 #E9E5FB

Accessibility & contrast

On white

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

On black

7.63
#A28EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28EED
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28EED#FFFFFF#000000##000000
##A28EED1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF1
Deuteranopia (green-blind)
#739AEB
Tritanopia (blue-blind)
#919FB2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a28eed;
/* rgb */ color: rgb(162, 142, 237);
/* oklch */ color: oklch(70.3% 0.137 292.2);
Tailwind
colors: {
  custom: {
    50: '#c0aff3',
    500: '#a28eed',
    950: '#000000',
  },
}
SCSS
$custom: #a28eed;
$custom-light: #c0aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#a28eed",
  "rgb": {
    "r": 162,
    "g": 142,
    "b": 237
  },
  "hsl": {
    "h": 252.632,
    "s": 72.519,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70319,
    "c": 0.13708,
    "h": 292.2
  },
  "luminance": 0.33142
}

Semantic roles & 50–950 ramp

primary
#A28EED
secondary
#EDF2D9
accent
#D511AB
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A28EED

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

Preview Lab → · Contrast checker → · Palette generator →

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