#A28DF5#A28DF5

#A28DF5 is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.6% C 0.149 H 291.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#A28DF5
RGBrgb(162, 141, 245)
HSLhsl(252, 84%, 76%)
HSVhsv(252, 42%, 96%)
CMYKcmyk(33.9%, 42.4%, 0%, 3.9%)
CIE-LABlab(64.42, 30.85, -49.49)
CIE-LCHlch(64.42, 58.31, 301.94°)
OKLaboklab(70.56% 0.0544 -0.1391)
OKLCHoklch(70.56% 0.149 291.4)
XYZxyz(40.9023, 33.3228, 90.6454)
Luminance0.3332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28DF5 #E0F58D
analogous
#8DACF5 #A28DF5 #D68DF5
triadic
#A28DF5 #F5A28D #8DF5A2
tetradic
#A28DF5 #F58DAC #E0F58D #8DF5D6
square
#A28DF5 #F58DAC #E0F58D #8DF5D6
split-complementary
#A28DF5 #F5D68D #ACF58D
monochromatic
#461CEB #7455F0 #A28DF5 #D0C5FA #E8E3FD

Accessibility & contrast

On white

2.74
#A28DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#A28DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28DF5
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28DF5#FFFFFF#000000##000000
##A28DF51.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EF9
Deuteranopia (green-blind)
#6D9AF2
Tritanopia (blue-blind)
#8EA1B5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a28df5;
/* rgb */ color: rgb(162, 141, 245);
/* oklch */ color: oklch(70.6% 0.149 291.4);
Tailwind
colors: {
  custom: {
    50: '#c0aef9',
    500: '#a28df5',
    950: '#000000',
  },
}
SCSS
$custom: #a28df5;
$custom-light: #c0aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#a28df5",
  "rgb": {
    "r": 162,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 252.115,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70555,
    "c": 0.14935,
    "h": 291.4
  },
  "luminance": 0.33324
}

Semantic roles & 50–950 ramp

primary
#A28DF5
secondary
#EEF4D7
accent
#E005B4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #A28DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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