#A28AF8#A28AF8

#A28AF8 is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.2% C 0.158 H 291.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#A28AF8
RGBrgb(162, 138, 248)
HSLhsl(253, 89%, 76%)
HSVhsv(253, 44%, 97%)
CMYKcmyk(34.7%, 44.4%, 0%, 2.7%)
CIE-LABlab(63.86, 33.33, -52.02)
CIE-LCHlch(63.86, 61.78, 302.65°)
OKLaboklab(70.18% 0.0587 -0.1465)
OKLCHoklch(70.18% 0.158 291.9)
XYZxyz(40.9276, 32.6347, 92.9315)
Luminance0.3264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28AF8 #E0F88A
analogous
#8AA9F8 #A28AF8 #D98AF8
triadic
#A28AF8 #F8A28A #8AF8A2
tetradic
#A28AF8 #F88AA9 #E0F88A #8AF8D9
square
#A28AF8 #F88AA9 #E0F88A #8AF8D9
split-complementary
#A28AF8 #F8D98A #A9F88A
monochromatic
#4617F1 #7450F5 #A28AF8 #D0C4FB #E8E2FD

Accessibility & contrast

On white

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

On black

7.53
#A28AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28AF8
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28AF8#FFFFFF#000000##000000
##A28AF81.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFC
Deuteranopia (green-blind)
#6899F5
Tritanopia (blue-blind)
#8D9FB5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28af8;
/* rgb */ color: rgb(162, 138, 248);
/* oklch */ color: oklch(70.2% 0.158 291.9);
Tailwind
colors: {
  custom: {
    50: '#c1acfb',
    500: '#a28af8',
    950: '#000000',
  },
}
SCSS
$custom: #a28af8;
$custom-light: #c1acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a28af8",
  "rgb": {
    "r": 162,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 253.091,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70183,
    "c": 0.1578,
    "h": 291.9
  },
  "luminance": 0.32636
}

Semantic roles & 50–950 ramp

primary
#A28AF8
secondary
#EEF5D6
accent
#E500B3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A28AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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