#A28EEC#A28EEC

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

Color values

HEX#A28EEC
RGBrgb(162, 142, 236)
HSLhsl(253, 71%, 74%)
HSVhsv(253, 40%, 93%)
CMYKcmyk(31.4%, 39.8%, 0%, 7.5%)
CIE-LABlab(64.23, 27.98, -44.84)
CIE-LCHlch(64.23, 52.85, 301.96°)
OKLaboklab(70.27% 0.0516 -0.1256)
OKLCHoklch(70.27% 0.136 292.3)
XYZxyz(39.7098, 33.0828, 83.6341)
Luminance0.3308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28EEC #D8EC8E
analogous
#8EA9EC #A28EEC #D18EEC
triadic
#A28EEC #ECA28E #8EECA2
tetradic
#A28EEC #EC8EA9 #D8EC8E #8EECD1
square
#A28EEC #EC8EA9 #D8EC8E #8EECD1
split-complementary
#A28EEC #ECD18E #A9EC8E
monochromatic
#4C25DA #775AE3 #A28EEC #CDC2F5 #E9E5FB

Accessibility & contrast

On white

2.76
#A28EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#A28EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28EEC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28EEC#FFFFFF#000000##000000
##A28EEC1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#749AEA
Tritanopia (blue-blind)
#919FB2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a28eec;
/* rgb */ color: rgb(162, 142, 236);
/* oklch */ color: oklch(70.3% 0.136 292.3);
Tailwind
colors: {
  custom: {
    50: '#c0aff2',
    500: '#a28eec',
    950: '#000000',
  },
}
SCSS
$custom: #a28eec;
$custom-light: #c0aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#a28eec",
  "rgb": {
    "r": 162,
    "g": 142,
    "b": 236
  },
  "hsl": {
    "h": 252.766,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70267,
    "c": 0.13573,
    "h": 292.3
  },
  "luminance": 0.33084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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