#A28EFD#A28EFD

#A28EFD is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.2% C 0.159 H 290.0°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#A28EFD
RGBrgb(162, 142, 253)
HSLhsl(251, 97%, 77%)
HSVhsv(251, 44%, 99%)
CMYKcmyk(36%, 43.9%, 0%, 0.8%)
CIE-LABlab(65.06, 32.36, -52.87)
CIE-LCHlch(65.06, 61.98, 301.47°)
OKLaboklab(71.17% 0.0543 -0.1489)
OKLCHoklch(71.17% 0.159 290)
XYZxyz(42.2982, 34.1181, 97.2663)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28EFD #E9FD8E
analogous
#8EB1FD #A28EFD #DA8EFD
triadic
#A28EFD #FDA28E #8EFDA2
tetradic
#A28EFD #FD8EB1 #E9FD8E #8EFDDA
square
#A28EFD #FD8EB1 #E9FD8E #8EFDDA
split-complementary
#A28EFD #FDDA8E #B1FD8E
monochromatic
#3F16FB #7152FC #A28EFD #D3CAFE #E6E1FE

Accessibility & contrast

On white

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

On black

7.82
#A28EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28EFD
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28EFD#FFFFFF#000000##000000
##A28EFD1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#699BFA
Tritanopia (blue-blind)
#8BA3B9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a28efd;
/* rgb */ color: rgb(162, 142, 253);
/* oklch */ color: oklch(71.2% 0.159 290.0);
Tailwind
colors: {
  custom: {
    50: '#c1affe',
    500: '#a28efd',
    950: '#000000',
  },
}
SCSS
$custom: #a28efd;
$custom-light: #c1affe;
$custom-dark: #000000;
JSON
{
  "hex": "#a28efd",
  "rgb": {
    "r": 162,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 250.811,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.71165,
    "c": 0.15853,
    "h": 290
  },
  "luminance": 0.34119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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