#A28AF4#A28AF4

#A28AF4 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.0% C 0.152 H 292.4°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#A28AF4
RGBrgb(162, 138, 244)
HSLhsl(254, 83%, 75%)
HSVhsv(254, 43%, 96%)
CMYKcmyk(33.6%, 43.4%, 0%, 4.3%)
CIE-LABlab(63.66, 32.30, -50.14)
CIE-LCHlch(63.66, 59.64, 302.79°)
OKLaboklab(69.97% 0.0582 -0.141)
OKLCHoklch(69.97% 0.153 292.4)
XYZxyz(40.3137, 32.3892, 89.6982)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28AF4 #DCF48A
analogous
#8AA7F4 #A28AF4 #D78AF4
triadic
#A28AF4 #F4A28A #8AF4A2
tetradic
#A28AF4 #F48AA7 #DCF48A #8AF4D7
square
#A28AF4 #F48AA7 #DCF48A #8AF4D7
split-complementary
#A28AF4 #F4D78A #A7F48A
monochromatic
#491AE9 #7652EF #A28AF4 #CEC2F9 #E9E3FC

Accessibility & contrast

On white

2.81
#A28AF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#A28AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28AF4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28AF4#FFFFFF#000000##000000
##A28AF41.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#689CF8
Deuteranopia (green-blind)
#6A98F1
Tritanopia (blue-blind)
#8E9EB3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a28af4;
/* rgb */ color: rgb(162, 138, 244);
/* oklch */ color: oklch(70.0% 0.152 292.4);
Tailwind
colors: {
  custom: {
    50: '#c0acf8',
    500: '#a28af4',
    950: '#000000',
  },
}
SCSS
$custom: #a28af4;
$custom-light: #c0acf8;
$custom-dark: #000000;
JSON
{
  "hex": "#a28af4",
  "rgb": {
    "r": 162,
    "g": 138,
    "b": 244
  },
  "hsl": {
    "h": 253.585,
    "s": 82.813,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69966,
    "c": 0.1525,
    "h": 292.4
  },
  "luminance": 0.3239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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