#A28AF6#A28AF6

#A28AF6 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.1% C 0.155 H 292.1°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#A28AF6
RGBrgb(162, 138, 246)
HSLhsl(253, 86%, 75%)
HSVhsv(253, 44%, 96%)
CMYKcmyk(34.1%, 43.9%, 0%, 3.5%)
CIE-LABlab(63.76, 32.81, -51.08)
CIE-LCHlch(63.76, 60.71, 302.71°)
OKLaboklab(70.07% 0.0585 -0.1437)
OKLCHoklch(70.07% 0.155 292.1)
XYZxyz(40.6190, 32.5113, 91.3061)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28AF6 #DEF68A
analogous
#8AA8F6 #A28AF6 #D88AF6
triadic
#A28AF6 #F6A28A #8AF6A2
tetradic
#A28AF6 #F68AA8 #DEF68A #8AF6D8
square
#A28AF6 #F68AA8 #DEF68A #8AF6D8
split-complementary
#A28AF6 #F6D88A #A8F68A
monochromatic
#4818ED #7551F2 #A28AF6 #CFC3FA #E8E3FD

Accessibility & contrast

On white

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

On black

7.50
#A28AF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28AF6
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28AF6#FFFFFF#000000##000000
##A28AF61.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFA
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#8E9EB4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a28af6;
/* rgb */ color: rgb(162, 138, 246);
/* oklch */ color: oklch(70.1% 0.155 292.1);
Tailwind
colors: {
  custom: {
    50: '#c0acf9',
    500: '#a28af6',
    950: '#000000',
  },
}
SCSS
$custom: #a28af6;
$custom-light: #c0acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a28af6",
  "rgb": {
    "r": 162,
    "g": 138,
    "b": 246
  },
  "hsl": {
    "h": 253.333,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70074,
    "c": 0.15515,
    "h": 292.1
  },
  "luminance": 0.32512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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