#A28BE7#A28BE7

#A28BE7 is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.5% C 0.134 H 294.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#A28BE7
RGBrgb(162, 139, 231)
HSLhsl(255, 66%, 73%)
HSVhsv(255, 40%, 91%)
CMYKcmyk(29.9%, 39.8%, 0%, 9.4%)
CIE-LABlab(63.27, 28.43, -43.58)
CIE-LCHlch(63.27, 52.03, 303.12°)
OKLaboklab(69.47% 0.0547 -0.1219)
OKLCHoklch(69.47% 0.134 294.1)
XYZxyz(38.5531, 31.9155, 79.7149)
Luminance0.3192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BE7 #D0E78B
analogous
#8BA2E7 #A28BE7 #D08BE7
triadic
#A28BE7 #E7A28B #8BE7A2
tetradic
#A28BE7 #E78BA2 #D0E78B #8BE7D0
square
#A28BE7 #E78BA2 #D0E78B #8BE7D0
split-complementary
#A28BE7 #E7D08B #A2E78B
monochromatic
#532ACD #7958DD #A28BE7 #CBBEF1 #EBE6FA

Accessibility & contrast

On white

2.84
#A28BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#A28BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28BE7
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BE7#FFFFFF#000000##000000
##A28BE71.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#709AEB
Deuteranopia (green-blind)
#7398E5
Tritanopia (blue-blind)
#939BAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a28be7;
/* rgb */ color: rgb(162, 139, 231);
/* oklch */ color: oklch(69.5% 0.134 294.1);
Tailwind
colors: {
  custom: {
    50: '#c0adef',
    500: '#a28be7',
    950: '#000000',
  },
}
SCSS
$custom: #a28be7;
$custom-light: #c0adef;
$custom-dark: #000000;
JSON
{
  "hex": "#a28be7",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 255,
    "s": 65.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69466,
    "c": 0.13359,
    "h": 294.1
  },
  "luminance": 0.31916
}

Semantic roles & 50–950 ramp

primary
#A28BE7
secondary
#EBF1DA
accent
#CE18A0
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A28BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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