#A28EFE#A28EFE

#A28EFE is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.2% C 0.160 H 289.9°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#A28EFE
RGBrgb(162, 142, 254)
HSLhsl(251, 98%, 78%)
HSVhsv(251, 44%, 100%)
CMYKcmyk(36.2%, 44.1%, 0%, 0.4%)
CIE-LABlab(65.11, 32.62, -53.33)
CIE-LCHlch(65.11, 62.52, 301.45°)
OKLaboklab(71.22% 0.0545 -0.1503)
OKLCHoklch(71.22% 0.16 289.9)
XYZxyz(42.4579, 34.1820, 98.1075)
Luminance0.3418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28EFE #EAFE8E
analogous
#8EB2FE #A28EFE #DA8EFE
triadic
#A28EFE #FEA28E #8EFEA2
tetradic
#A28EFE #FE8EB2 #EAFE8E #8EFEDA
square
#A28EFE #FE8EB2 #EAFE8E #8EFEDA
split-complementary
#A28EFE #FEDA8E #B2FE8E
monochromatic
#3E15FD #7051FD #A28EFE #D4CBFF #E6E1FF

Accessibility & contrast

On white

2.68
#A28EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#A28EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28EFE
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28EFE#FFFFFF#000000##000000
##A28EFE1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#689BFB
Tritanopia (blue-blind)
#8AA4BA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a28efe;
/* rgb */ color: rgb(162, 142, 254);
/* oklch */ color: oklch(71.2% 0.160 289.9);
Tailwind
colors: {
  custom: {
    50: '#c1afff',
    500: '#a28efe',
    950: '#000000',
  },
}
SCSS
$custom: #a28efe;
$custom-light: #c1afff;
$custom-dark: #000000;
JSON
{
  "hex": "#a28efe",
  "rgb": {
    "r": 162,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 250.714,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7122,
    "c": 0.15987,
    "h": 289.9
  },
  "luminance": 0.34183
}

Semantic roles & 50–950 ramp

primary
#A28EFE
secondary
#F1F7D4
accent
#E600BD
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A28EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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