#A28BF4#A28BF4

#A28BF4 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.1% C 0.151 H 292.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#A28BF4
RGBrgb(162, 139, 244)
HSLhsl(253, 83%, 75%)
HSVhsv(253, 43%, 96%)
CMYKcmyk(33.6%, 43%, 0%, 4.3%)
CIE-LABlab(63.90, 31.73, -49.76)
CIE-LCHlch(63.90, 59.02, 302.52°)
OKLaboklab(70.14% 0.0569 -0.1399)
OKLCHoklch(70.14% 0.151 292.1)
XYZxyz(40.4578, 32.6774, 89.7462)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BF4 #DDF48B
analogous
#8BA8F4 #A28BF4 #D78BF4
triadic
#A28BF4 #F4A28B #8BF4A2
tetradic
#A28BF4 #F48BA8 #DDF48B #8BF4D7
square
#A28BF4 #F48BA8 #DDF48B #8BF4D7
split-complementary
#A28BF4 #F4D78B #A8F48B
monochromatic
#481BE9 #7553EF #A28BF4 #CFC3F9 #E9E3FC

Accessibility & contrast

On white

2.79
#A28BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#A28BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28BF4
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BF4#FFFFFF#000000##000000
##A28BF41.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#699CF8
Deuteranopia (green-blind)
#6C99F1
Tritanopia (blue-blind)
#8E9FB4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28bf4;
/* rgb */ color: rgb(162, 139, 244);
/* oklch */ color: oklch(70.1% 0.151 292.1);
Tailwind
colors: {
  custom: {
    50: '#c0adf8',
    500: '#a28bf4',
    950: '#000000',
  },
}
SCSS
$custom: #a28bf4;
$custom-light: #c0adf8;
$custom-dark: #000000;
JSON
{
  "hex": "#a28bf4",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 244
  },
  "hsl": {
    "h": 253.143,
    "s": 82.677,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70144,
    "c": 0.151,
    "h": 292.1
  },
  "luminance": 0.32678
}

Semantic roles & 50–950 ramp

primary
#A28BF4
secondary
#EEF4D7
accent
#DF06B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A28BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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