#A28BE4#A28BE4

#A28BE4 is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.3% C 0.130 H 294.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#A28BE4
RGBrgb(162, 139, 228)
HSLhsl(256, 62%, 72%)
HSVhsv(256, 39%, 89%)
CMYKcmyk(28.9%, 39%, 0%, 10.6%)
CIE-LABlab(63.13, 27.68, -42.14)
CIE-LCHlch(63.13, 50.41, 303.30°)
OKLaboklab(69.31% 0.0541 -0.1177)
OKLCHoklch(69.31% 0.13 294.7)
XYZxyz(38.1331, 31.7475, 77.5026)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BE4 #CDE48B
analogous
#8BA1E4 #A28BE4 #CF8BE4
triadic
#A28BE4 #E4A28B #8BE4A2
tetradic
#A28BE4 #E48BA1 #CDE48B #8BE4CF
square
#A28BE4 #E48BA1 #CDE48B #8BE4CF
split-complementary
#A28BE4 #E4CF8B #A1E48B
monochromatic
#562EC6 #7A59D8 #A28BE4 #CABDF0 #EBE6F9

Accessibility & contrast

On white

2.86
#A28BE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#A28BE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28BE4
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BE4#FFFFFF#000000##000000
##A28BE41.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#729AE7
Deuteranopia (green-blind)
#7597E2
Tritanopia (blue-blind)
#949BAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a28be4;
/* rgb */ color: rgb(162, 139, 228);
/* oklch */ color: oklch(69.3% 0.130 294.7);
Tailwind
colors: {
  custom: {
    50: '#bfaded',
    500: '#a28be4',
    950: '#000000',
  },
}
SCSS
$custom: #a28be4;
$custom-light: #bfaded;
$custom-dark: #000000;
JSON
{
  "hex": "#a28be4",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 228
  },
  "hsl": {
    "h": 255.506,
    "s": 62.238,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69314,
    "c": 0.12953,
    "h": 294.7
  },
  "luminance": 0.31748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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