#A28BFA#A28BFA

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

Color values

HEX#A28BFA
RGBrgb(162, 139, 250)
HSLhsl(252, 92%, 76%)
HSVhsv(252, 44%, 98%)
CMYKcmyk(35.2%, 44.4%, 0%, 2%)
CIE-LABlab(64.20, 33.28, -52.58)
CIE-LCHlch(64.20, 62.23, 302.33°)
OKLaboklab(70.47% 0.0577 -0.1481)
OKLCHoklch(70.47% 0.159 291.3)
XYZxyz(41.3837, 33.0478, 94.6224)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BFA #E3FA8B
analogous
#8BACFA #A28BFA #DA8BFA
triadic
#A28BFA #FAA28B #8BFAA2
tetradic
#A28BFA #FA8BAC #E3FA8B #8BFADA
square
#A28BFA #FA8BAC #E3FA8B #8BFADA
split-complementary
#A28BFA #FADA8B #ACFA8B
monochromatic
#4416F5 #7350F7 #A28BFA #D1C6FD #E7E2FE

Accessibility & contrast

On white

2.76
#A28BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#A28BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28BFA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BFA#FFFFFF#000000##000000
##A28BFA1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#8CA0B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a28bfa;
/* rgb */ color: rgb(162, 139, 250);
/* oklch */ color: oklch(70.5% 0.159 291.3);
Tailwind
colors: {
  custom: {
    50: '#c1adfc',
    500: '#a28bfa',
    950: '#000000',
  },
}
SCSS
$custom: #a28bfa;
$custom-light: #c1adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a28bfa",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 252.432,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70469,
    "c": 0.15897,
    "h": 291.3
  },
  "luminance": 0.33049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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