#A28BF9#A28BF9

#A28BF9 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.4% C 0.158 H 291.4°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#A28BF9
RGBrgb(162, 139, 249)
HSLhsl(253, 90%, 76%)
HSVhsv(253, 44%, 98%)
CMYKcmyk(34.9%, 44.2%, 0%, 2.4%)
CIE-LABlab(64.15, 33.02, -52.11)
CIE-LCHlch(64.15, 61.69, 302.36°)
OKLaboklab(70.41% 0.0576 -0.1467)
OKLCHoklch(70.41% 0.158 291.4)
XYZxyz(41.2273, 32.9852, 93.7988)
Luminance0.3299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BF9 #E2F98B
analogous
#8BABF9 #A28BF9 #D98BF9
triadic
#A28BF9 #F9A28B #8BF9A2
tetradic
#A28BF9 #F98BAB #E2F98B #8BF9D9
square
#A28BF9 #F98BAB #E2F98B #8BF9D9
split-complementary
#A28BF9 #F9D98B #ABF98B
monochromatic
#4517F3 #7351F6 #A28BF9 #D1C5FC #E8E2FD

Accessibility & contrast

On white

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

On black

7.60
#A28BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28BF9
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BF9#FFFFFF#000000##000000
##A28BF91.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFD
Deuteranopia (green-blind)
#6899F6
Tritanopia (blue-blind)
#8DA0B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28bf9;
/* rgb */ color: rgb(162, 139, 249);
/* oklch */ color: oklch(70.4% 0.158 291.4);
Tailwind
colors: {
  custom: {
    50: '#c1adfc',
    500: '#a28bf9',
    950: '#000000',
  },
}
SCSS
$custom: #a28bf9;
$custom-light: #c1adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a28bf9",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 252.545,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70414,
    "c": 0.15764,
    "h": 291.4
  },
  "luminance": 0.32986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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