#A28AF9#A28AF9

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

Color values

HEX#A28AF9
RGBrgb(162, 138, 249)
HSLhsl(253, 90%, 76%)
HSVhsv(253, 45%, 98%)
CMYKcmyk(34.9%, 44.6%, 0%, 2.4%)
CIE-LABlab(63.91, 33.59, -52.49)
CIE-LCHlch(63.91, 62.31, 302.62°)
OKLaboklab(70.24% 0.0589 -0.1478)
OKLCHoklch(70.24% 0.159 291.7)
XYZxyz(41.0832, 32.6969, 93.7508)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28AF9 #E1F98A
analogous
#8AA9F9 #A28AF9 #D98AF9
triadic
#A28AF9 #F9A28A #8AF9A2
tetradic
#A28AF9 #F98AA9 #E1F98A #8AF9D9
square
#A28AF9 #F98AA9 #E1F98A #8AF9D9
split-complementary
#A28AF9 #F9D98A #A9F98A
monochromatic
#4516F3 #7450F6 #A28AF9 #D0C4FC #E8E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A28AF9#FFFFFF#000000##000000
##A28AF91.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)
#649DFD
Deuteranopia (green-blind)
#6799F6
Tritanopia (blue-blind)
#8D9FB6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28af9;
/* rgb */ color: rgb(162, 138, 249);
/* oklch */ color: oklch(70.2% 0.159 291.7);
Tailwind
colors: {
  custom: {
    50: '#c1acfc',
    500: '#a28af9',
    950: '#000000',
  },
}
SCSS
$custom: #a28af9;
$custom-light: #c1acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a28af9",
  "rgb": {
    "r": 162,
    "g": 138,
    "b": 249
  },
  "hsl": {
    "h": 252.973,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70238,
    "c": 0.15912,
    "h": 291.7
  },
  "luminance": 0.32698
}

Semantic roles & 50–950 ramp

primary
#A28AF9
secondary
#EFF6D5
accent
#E600B4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A28AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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