#A28AE9#A28AE9

#A28AE9 is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.4% C 0.138 H 294.1°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#A28AE9
RGBrgb(162, 138, 233)
HSLhsl(255, 68%, 73%)
HSVhsv(255, 41%, 91%)
CMYKcmyk(30.5%, 40.8%, 0%, 8.6%)
CIE-LABlab(63.13, 29.50, -44.91)
CIE-LCHlch(63.13, 53.73, 303.30°)
OKLaboklab(69.39% 0.0564 -0.1258)
OKLCHoklch(69.39% 0.138 294.1)
XYZxyz(38.6931, 31.7409, 81.1630)
Luminance0.3174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28AE9 #D1E98A
analogous
#8AA1E9 #A28AE9 #D18AE9
triadic
#A28AE9 #E9A28A #8AE9A2
tetradic
#A28AE9 #E98AA1 #D1E98A #8AE9D1
square
#A28AE9 #E98AA1 #D1E98A #8AE9D1
split-complementary
#A28AE9 #E9D18A #A1E98A
monochromatic
#5227D1 #7956DF #A28AE9 #CBBEF3 #EBE5FA

Accessibility & contrast

On white

2.86
#A28AE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#A28AE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28AE9
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28AE9#FFFFFF#000000##000000
##A28AE91.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9AED
Deuteranopia (green-blind)
#7197E7
Tritanopia (blue-blind)
#929BAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a28ae9;
/* rgb */ color: rgb(162, 138, 233);
/* oklch */ color: oklch(69.4% 0.138 294.1);
Tailwind
colors: {
  custom: {
    50: '#c0acf0',
    500: '#a28ae9',
    950: '#000000',
  },
}
SCSS
$custom: #a28ae9;
$custom-light: #c0acf0;
$custom-dark: #000000;
JSON
{
  "hex": "#a28ae9",
  "rgb": {
    "r": 162,
    "g": 138,
    "b": 233
  },
  "hsl": {
    "h": 255.158,
    "s": 68.345,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69386,
    "c": 0.13782,
    "h": 294.1
  },
  "luminance": 0.31742
}

Semantic roles & 50–950 ramp

primary
#A28AE9
secondary
#ECF2D9
accent
#D015A1
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A28AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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