#A28AF5#A28AF5

#A28AF5 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.0% C 0.154 H 292.3°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#A28AF5
RGBrgb(162, 138, 245)
HSLhsl(253, 84%, 75%)
HSVhsv(253, 44%, 96%)
CMYKcmyk(33.9%, 43.7%, 0%, 3.9%)
CIE-LABlab(63.71, 32.55, -50.61)
CIE-LCHlch(63.71, 60.17, 302.75°)
OKLaboklab(70.02% 0.0583 -0.1423)
OKLCHoklch(70.02% 0.154 292.3)
XYZxyz(40.4659, 32.4500, 90.5000)
Luminance0.3245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28AF5 #DDF58A
analogous
#8AA7F5 #A28AF5 #D88AF5
triadic
#A28AF5 #F5A28A #8AF5A2
tetradic
#A28AF5 #F58AA7 #DDF58A #8AF5D8
square
#A28AF5 #F58AA7 #DDF58A #8AF5D8
split-complementary
#A28AF5 #F5D88A #A7F58A
monochromatic
#4819EB #7552F0 #A28AF5 #CFC2FA #E9E3FD

Accessibility & contrast

On white

2.80
#A28AF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#A28AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28AF5
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28AF5#FFFFFF#000000##000000
##A28AF51.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679CF9
Deuteranopia (green-blind)
#6A98F2
Tritanopia (blue-blind)
#8E9EB4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a28af5;
/* rgb */ color: rgb(162, 138, 245);
/* oklch */ color: oklch(70.0% 0.154 292.3);
Tailwind
colors: {
  custom: {
    50: '#c0acf9',
    500: '#a28af5',
    950: '#000000',
  },
}
SCSS
$custom: #a28af5;
$custom-light: #c0acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a28af5",
  "rgb": {
    "r": 162,
    "g": 138,
    "b": 245
  },
  "hsl": {
    "h": 253.458,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7002,
    "c": 0.15383,
    "h": 292.3
  },
  "luminance": 0.32451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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