#A28EF9#A28EF9

#A28EF9 is a light, vivid violet. Relative luminance 0.339; OKLCH L 70.9% C 0.153 H 290.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A28EF9
RGBrgb(162, 142, 249)
HSLhsl(251, 90%, 77%)
HSVhsv(251, 43%, 98%)
CMYKcmyk(34.9%, 43%, 0%, 2.4%)
CIE-LABlab(64.86, 31.31, -50.99)
CIE-LCHlch(64.86, 59.84, 301.55°)
OKLaboklab(70.95% 0.0538 -0.1435)
OKLCHoklch(70.95% 0.153 290.5)
XYZxyz(41.6676, 33.8659, 93.9456)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28EF9 #E5F98E
analogous
#8EB0F9 #A28EF9 #D88EF9
triadic
#A28EF9 #F9A28E #8EF9A2
tetradic
#A28EF9 #F98EB0 #E5F98E #8EF9D8
square
#A28EF9 #F98EB0 #E5F98E #8EF9D8
split-complementary
#A28EF9 #F9D88E #B0F98E
monochromatic
#421AF3 #7254F6 #A28EF9 #D2C8FC #E7E2FD

Accessibility & contrast

On white

2.70
#A28EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#A28EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28EF9
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28EF9#FFFFFF#000000##000000
##A28EF91.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFD
Deuteranopia (green-blind)
#6C9BF6
Tritanopia (blue-blind)
#8CA2B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a28ef9;
/* rgb */ color: rgb(162, 142, 249);
/* oklch */ color: oklch(70.9% 0.153 290.5);
Tailwind
colors: {
  custom: {
    50: '#c1affc',
    500: '#a28ef9',
    950: '#000000',
  },
}
SCSS
$custom: #a28ef9;
$custom-light: #c1affc;
$custom-dark: #000000;
JSON
{
  "hex": "#a28ef9",
  "rgb": {
    "r": 162,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 251.215,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.70949,
    "c": 0.15321,
    "h": 290.5
  },
  "luminance": 0.33867
}

Semantic roles & 50–950 ramp

primary
#A28EF9
secondary
#F0F6D5
accent
#E600BB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A28EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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