#A28AFD#A28AFD

#A28AFD is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.5% C 0.164 H 291.2°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#A28AFD
RGBrgb(162, 138, 253)
HSLhsl(253, 97%, 77%)
HSVhsv(253, 45%, 99%)
CMYKcmyk(36%, 45.5%, 0%, 0.8%)
CIE-LABlab(64.12, 34.63, -54.35)
CIE-LCHlch(64.12, 64.45, 302.50°)
OKLaboklab(70.46% 0.0594 -0.1533)
OKLCHoklch(70.46% 0.164 291.2)
XYZxyz(41.7137, 32.9492, 97.0715)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28AFD #E5FD8A
analogous
#8AACFD #A28AFD #DC8AFD
triadic
#A28AFD #FDA28A #8AFDA2
tetradic
#A28AFD #FD8AAC #E5FD8A #8AFDDC
square
#A28AFD #FD8AAC #E5FD8A #8AFDDC
split-complementary
#A28AFD #FDDC8A #ACFD8A
monochromatic
#4212FB #724EFC #A28AFD #D2C6FE #E7E1FE

Accessibility & contrast

On white

2.77
#A28AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#A28AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28AFD
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28AFD#FFFFFF#000000##000000
##A28AFD1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#8BA0B7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28afd;
/* rgb */ color: rgb(162, 138, 253);
/* oklch */ color: oklch(70.5% 0.164 291.2);
Tailwind
colors: {
  custom: {
    50: '#c1acfe',
    500: '#a28afd',
    950: '#000000',
  },
}
SCSS
$custom: #a28afd;
$custom-light: #c1acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a28afd",
  "rgb": {
    "r": 162,
    "g": 138,
    "b": 253
  },
  "hsl": {
    "h": 252.522,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.70459,
    "c": 0.16439,
    "h": 291.2
  },
  "luminance": 0.3295
}

Semantic roles & 50–950 ramp

primary
#A28AFD
secondary
#F0F7D4
accent
#E600B6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A28AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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