#A28DF9#A28DF9

#A28DF9 is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.8% C 0.155 H 290.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A28DF9
RGBrgb(162, 141, 249)
HSLhsl(252, 90%, 76%)
HSVhsv(252, 43%, 98%)
CMYKcmyk(34.9%, 43.4%, 0%, 2.4%)
CIE-LABlab(64.62, 31.88, -51.37)
CIE-LCHlch(64.62, 60.46, 301.83°)
OKLaboklab(70.77% 0.055 -0.1446)
OKLCHoklch(70.77% 0.155 290.8)
XYZxyz(41.5195, 33.5697, 93.8962)
Luminance0.3357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28DF9 #E4F98D
analogous
#8DAEF9 #A28DF9 #D88DF9
triadic
#A28DF9 #F9A28D #8DF9A2
tetradic
#A28DF9 #F98DAE #E4F98D #8DF9D8
square
#A28DF9 #F98DAE #E4F98D #8DF9D8
split-complementary
#A28DF9 #F9D88D #AEF98D
monochromatic
#4319F3 #7353F6 #A28DF9 #D1C7FC #E7E2FD

Accessibility & contrast

On white

2.72
#A28DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A28DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28DF9
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28DF9#FFFFFF#000000##000000
##A28DF91.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFD
Deuteranopia (green-blind)
#6B9AF6
Tritanopia (blue-blind)
#8CA2B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a28df9;
/* rgb */ color: rgb(162, 141, 249);
/* oklch */ color: oklch(70.8% 0.155 290.8);
Tailwind
colors: {
  custom: {
    50: '#c1aefc',
    500: '#a28df9',
    950: '#000000',
  },
}
SCSS
$custom: #a28df9;
$custom-light: #c1aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#a28df9",
  "rgb": {
    "r": 162,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 251.667,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7077,
    "c": 0.15468,
    "h": 290.8
  },
  "luminance": 0.33571
}

Semantic roles & 50–950 ramp

primary
#A28DF9
secondary
#EFF6D5
accent
#E600B9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A28DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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