#A28BEE#A28BEE

#A28BEE is a light, vivid violet. Relative luminance 0.323; OKLCH L 69.8% C 0.143 H 293.0°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#A28BEE
RGBrgb(162, 139, 238)
HSLhsl(254, 74%, 74%)
HSVhsv(254, 42%, 93%)
CMYKcmyk(31.9%, 41.6%, 0%, 6.7%)
CIE-LABlab(63.61, 30.19, -46.92)
CIE-LCHlch(63.61, 55.80, 302.76°)
OKLaboklab(69.83% 0.0559 -0.1316)
OKLCHoklch(69.83% 0.143 293)
XYZxyz(39.5616, 32.3189, 85.0262)
Luminance0.3232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BEE #D7EE8B
analogous
#8BA6EE #A28BEE #D48BEE
triadic
#A28BEE #EEA28B #8BEEA2
tetradic
#A28BEE #EE8BA6 #D7EE8B #8BEED4
square
#A28BEE #EE8BA6 #D7EE8B #8BEED4
split-complementary
#A28BEE #EED48B #A6EE8B
monochromatic
#4D21DE #7756E6 #A28BEE #CDC0F6 #EAE4FB

Accessibility & contrast

On white

2.81
#A28BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#A28BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28BEE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BEE#FFFFFF#000000##000000
##A28BEE1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF2
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#909DB1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a28bee;
/* rgb */ color: rgb(162, 139, 238);
/* oklch */ color: oklch(69.8% 0.143 293.0);
Tailwind
colors: {
  custom: {
    50: '#c0adf4',
    500: '#a28bee',
    950: '#000000',
  },
}
SCSS
$custom: #a28bee;
$custom-light: #c0adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a28bee",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 253.939,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69826,
    "c": 0.14299,
    "h": 293
  },
  "luminance": 0.3232
}

Semantic roles & 50–950 ramp

primary
#A28BEE
secondary
#EDF3D8
accent
#D70FA8
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A28BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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