#A28BF7#A28BF7

#A28BF7 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.3% C 0.155 H 291.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#A28BF7
RGBrgb(162, 139, 247)
HSLhsl(253, 87%, 76%)
HSVhsv(253, 44%, 97%)
CMYKcmyk(34.4%, 43.7%, 0%, 3.1%)
CIE-LABlab(64.05, 32.50, -51.18)
CIE-LCHlch(64.05, 60.62, 302.42°)
OKLaboklab(70.31% 0.0573 -0.144)
OKLCHoklch(70.31% 0.155 291.7)
XYZxyz(40.9170, 32.8611, 92.1647)
Luminance0.3286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BF7 #E0F78B
analogous
#8BAAF7 #A28BF7 #D88BF7
triadic
#A28BF7 #F7A28B #8BF7A2
tetradic
#A28BF7 #F78BAA #E0F78B #8BF7D8
square
#A28BF7 #F78BAA #E0F78B #8BF7D8
split-complementary
#A28BF7 #F7D88B #AAF78B
monochromatic
#4618EF #7452F3 #A28BF7 #D0C4FB #E8E2FD

Accessibility & contrast

On white

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

On black

7.57
#A28BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28BF7
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BF7#FFFFFF#000000##000000
##A28BF71.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#8DA0B5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28bf7;
/* rgb */ color: rgb(162, 139, 247);
/* oklch */ color: oklch(70.3% 0.155 291.7);
Tailwind
colors: {
  custom: {
    50: '#c1adfa',
    500: '#a28bf7',
    950: '#000000',
  },
}
SCSS
$custom: #a28bf7;
$custom-light: #c1adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a28bf7",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 252.778,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70306,
    "c": 0.15499,
    "h": 291.7
  },
  "luminance": 0.32862
}

Semantic roles & 50–950 ramp

primary
#A28BF7
secondary
#EEF5D6
accent
#E402B4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A28BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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