#A28DEE#A28DEE

#A28DEE is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.2% C 0.140 H 292.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#A28DEE
RGBrgb(162, 141, 238)
HSLhsl(253, 74%, 74%)
HSVhsv(253, 41%, 93%)
CMYKcmyk(31.9%, 40.8%, 0%, 6.7%)
CIE-LABlab(64.08, 29.05, -46.17)
CIE-LCHlch(64.08, 54.55, 302.18°)
OKLaboklab(70.19% 0.0532 -0.1294)
OKLCHoklch(70.19% 0.14 292.4)
XYZxyz(39.8538, 32.9034, 85.1236)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28DEE #D9EE8D
analogous
#8DA9EE #A28DEE #D38DEE
triadic
#A28DEE #EEA28D #8DEEA2
tetradic
#A28DEE #EE8DA9 #D9EE8D #8DEED3
square
#A28DEE #EE8DA9 #D9EE8D #8DEED3
split-complementary
#A28DEE #EED38D #A9EE8D
monochromatic
#4B22DE #7758E6 #A28DEE #CDC2F6 #E9E4FB

Accessibility & contrast

On white

2.77
#A28DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#A28DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28DEE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28DEE#FFFFFF#000000##000000
##A28DEE1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF2
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#909FB2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28dee;
/* rgb */ color: rgb(162, 141, 238);
/* oklch */ color: oklch(70.2% 0.140 292.4);
Tailwind
colors: {
  custom: {
    50: '#c0aef4',
    500: '#a28dee',
    950: '#000000',
  },
}
SCSS
$custom: #a28dee;
$custom-light: #c0aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#a28dee",
  "rgb": {
    "r": 162,
    "g": 141,
    "b": 238
  },
  "hsl": {
    "h": 252.99,
    "s": 74.046,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70188,
    "c": 0.13994,
    "h": 292.4
  },
  "luminance": 0.32904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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