#A28AF7#A28AF7

#A28AF7 is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.1% C 0.156 H 292.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#A28AF7
RGBrgb(162, 138, 247)
HSLhsl(253, 87%, 75%)
HSVhsv(253, 44%, 97%)
CMYKcmyk(34.4%, 44.1%, 0%, 3.1%)
CIE-LABlab(63.81, 33.07, -51.55)
CIE-LCHlch(63.81, 61.24, 302.68°)
OKLaboklab(70.13% 0.0586 -0.1451)
OKLCHoklch(70.13% 0.156 292)
XYZxyz(40.7729, 32.5728, 92.1167)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28AF7 #DFF78A
analogous
#8AA8F7 #A28AF7 #D88AF7
triadic
#A28AF7 #F7A28A #8AF7A2
tetradic
#A28AF7 #F78AA8 #DFF78A #8AF7D8
square
#A28AF7 #F78AA8 #DFF78A #8AF7D8
split-complementary
#A28AF7 #F7D88A #A8F78A
monochromatic
#4717EF #7451F3 #A28AF7 #D0C3FB #E8E2FD

Accessibility & contrast

On white

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

On black

7.51
#A28AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28AF7
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28AF7#FFFFFF#000000##000000
##A28AF71.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFB
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#8D9FB5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28af7;
/* rgb */ color: rgb(162, 138, 247);
/* oklch */ color: oklch(70.1% 0.156 292.0);
Tailwind
colors: {
  custom: {
    50: '#c1acfa',
    500: '#a28af7',
    950: '#000000',
  },
}
SCSS
$custom: #a28af7;
$custom-light: #c1acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a28af7",
  "rgb": {
    "r": 162,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 253.211,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70128,
    "c": 0.15648,
    "h": 292
  },
  "luminance": 0.32574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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