#A28EDA#A28EDA

#A28EDA is a light, moderate violet. Relative luminance 0.321; OKLCH L 69.4% C 0.111 H 295.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#A28EDA
RGBrgb(162, 142, 218)
HSLhsl(256, 51%, 71%)
HSVhsv(256, 35%, 85%)
CMYKcmyk(25.7%, 34.9%, 0%, 14.5%)
CIE-LABlab(63.42, 23.51, -36.14)
CIE-LCHlch(63.42, 43.11, 303.05°)
OKLaboklab(69.38% 0.0478 -0.1004)
OKLCHoklch(69.38% 0.111 295.4)
XYZxyz(37.2252, 32.0889, 70.5487)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28EDA #C6DA8E
analogous
#8EA0DA #A28EDA #C88EDA
triadic
#A28EDA #DAA28E #8EDAA2
tetradic
#A28EDA #DA8EA0 #C6DA8E #8EDAC8
square
#A28EDA #DA8EA0 #C6DA8E #8EDAC8
split-complementary
#A28EDA #DAC88E #A0DA8E
monochromatic
#5A3BB3 #7C60CB #A28EDA #C8BCE9 #ECE8F7

Accessibility & contrast

On white

2.83
#A28EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#A28EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28EDA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28EDA#FFFFFF#000000##000000
##A28EDA1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9ADD
Deuteranopia (green-blind)
#7D99D8
Tritanopia (blue-blind)
#979BAA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a28eda;
/* rgb */ color: rgb(162, 142, 218);
/* oklch */ color: oklch(69.4% 0.111 295.4);
Tailwind
colors: {
  custom: {
    50: '#bfafe5',
    500: '#a28eda',
    950: '#000000',
  },
}
SCSS
$custom: #a28eda;
$custom-light: #bfafe5;
$custom-dark: #000000;
JSON
{
  "hex": "#a28eda",
  "rgb": {
    "r": 162,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 255.789,
    "s": 50.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69383,
    "c": 0.11119,
    "h": 295.4
  },
  "luminance": 0.32089
}

Semantic roles & 50–950 ramp

primary
#A28EDA
secondary
#E7ECD8
accent
#BE2796
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A28EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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