#A28AFA#A28AFA

#A28AFA is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.3% C 0.160 H 291.6°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#A28AFA
RGBrgb(162, 138, 250)
HSLhsl(253, 92%, 76%)
HSVhsv(253, 45%, 98%)
CMYKcmyk(35.2%, 44.8%, 0%, 2%)
CIE-LABlab(63.97, 33.85, -52.95)
CIE-LCHlch(63.97, 62.85, 302.59°)
OKLaboklab(70.29% 0.059 -0.1492)
OKLCHoklch(70.29% 0.16 291.6)
XYZxyz(41.2395, 32.7595, 94.5744)
Luminance0.3276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28AFA #E2FA8A
analogous
#8AAAFA #A28AFA #DA8AFA
triadic
#A28AFA #FAA28A #8AFAA2
tetradic
#A28AFA #FA8AAA #E2FA8A #8AFADA
square
#A28AFA #FA8AAA #E2FA8A #8AFADA
split-complementary
#A28AFA #FADA8A #AAFA8A
monochromatic
#4515F5 #734FF7 #A28AFA #D1C5FD #E8E2FE

Accessibility & contrast

On white

2.78
#A28AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#A28AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28AFA
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28AFA#FFFFFF#000000##000000
##A28AFA1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFE
Deuteranopia (green-blind)
#6699F7
Tritanopia (blue-blind)
#8CA0B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28afa;
/* rgb */ color: rgb(162, 138, 250);
/* oklch */ color: oklch(70.3% 0.160 291.6);
Tailwind
colors: {
  custom: {
    50: '#c1acfc',
    500: '#a28afa',
    950: '#000000',
  },
}
SCSS
$custom: #a28afa;
$custom-light: #c1acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a28afa",
  "rgb": {
    "r": 162,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 252.857,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70293,
    "c": 0.16044,
    "h": 291.6
  },
  "luminance": 0.3276
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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