#A28DEB#A28DEB

#A28DEB is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.0% C 0.136 H 292.8°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#A28DEB
RGBrgb(162, 141, 235)
HSLhsl(253, 70%, 74%)
HSVhsv(253, 40%, 92%)
CMYKcmyk(31.1%, 40%, 0%, 7.8%)
CIE-LABlab(63.94, 28.29, -44.74)
CIE-LCHlch(63.94, 52.94, 302.31°)
OKLaboklab(70.03% 0.0527 -0.1253)
OKLCHoklch(70.03% 0.136 292.8)
XYZxyz(39.4168, 32.7286, 82.8217)
Luminance0.3273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28DEB #D6EB8D
analogous
#8DA7EB #A28DEB #D18DEB
triadic
#A28DEB #EBA28D #8DEBA2
tetradic
#A28DEB #EB8DA7 #D6EB8D #8DEBD1
square
#A28DEB #EB8DA7 #D6EB8D #8DEBD1
split-complementary
#A28DEB #EBD18D #A7EB8D
monochromatic
#4E26D8 #7859E2 #A28DEB #CCC1F4 #EAE5FA

Accessibility & contrast

On white

2.78
#A28DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#A28DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28DEB
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28DEB#FFFFFF#000000##000000
##A28DEB1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#7399E9
Tritanopia (blue-blind)
#919EB1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28deb;
/* rgb */ color: rgb(162, 141, 235);
/* oklch */ color: oklch(70.0% 0.136 292.8);
Tailwind
colors: {
  custom: {
    50: '#c0aef2',
    500: '#a28deb',
    950: '#000000',
  },
}
SCSS
$custom: #a28deb;
$custom-light: #c0aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a28deb",
  "rgb": {
    "r": 162,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 253.404,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70034,
    "c": 0.1359,
    "h": 292.8
  },
  "luminance": 0.32729
}

Semantic roles & 50–950 ramp

primary
#A28DEB
secondary
#ECF2D9
accent
#D213A8
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A28DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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