#A28EFF#A28EFF

#A28EFF is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.3% C 0.161 H 289.8°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#A28EFF
RGBrgb(162, 142, 255)
HSLhsl(251, 100%, 78%)
HSVhsv(251, 44%, 100%)
CMYKcmyk(36.5%, 44.3%, 0%, 0%)
CIE-LABlab(65.16, 32.88, -53.80)
CIE-LCHlch(65.16, 63.05, 301.43°)
OKLaboklab(71.28% 0.0546 -0.1517)
OKLCHoklch(71.28% 0.161 289.8)
XYZxyz(42.6184, 34.2462, 98.9531)
Luminance0.3425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28EFF #EBFF8E
analogous
#8EB3FF #A28EFF #DA8EFF
triadic
#A28EFF #FFA28E #8EFFA2
tetradic
#A28EFF #FF8EB3 #EBFF8E #8EFFDA
square
#A28EFF #FF8EB3 #EBFF8E #8EFFDA
split-complementary
#A28EFF #FFDA8E #B3FF8E
monochromatic
#3D14FF #7051FF #A28EFF #D4CBFF #E6E0FF

Accessibility & contrast

On white

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

On black

7.85
#A28EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28EFF
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28EFF#FFFFFF#000000##000000
##A28EFF1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a28eff;
/* rgb */ color: rgb(162, 142, 255);
/* oklch */ color: oklch(71.3% 0.161 289.8);
Tailwind
colors: {
  custom: {
    50: '#c1afff',
    500: '#a28eff',
    950: '#000000',
  },
}
SCSS
$custom: #a28eff;
$custom-light: #c1afff;
$custom-dark: #000000;
JSON
{
  "hex": "#a28eff",
  "rgb": {
    "r": 162,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 250.619,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.71275,
    "c": 0.1612,
    "h": 289.8
  },
  "luminance": 0.34247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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