#A28AF3#A28AF3

#A28AF3 is a light, vivid violet. Relative luminance 0.323; OKLCH L 69.9% C 0.151 H 292.6°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#A28AF3
RGBrgb(162, 138, 243)
HSLhsl(254, 81%, 75%)
HSVhsv(254, 43%, 95%)
CMYKcmyk(33.3%, 43.2%, 0%, 4.7%)
CIE-LABlab(63.61, 32.04, -49.66)
CIE-LCHlch(63.61, 59.10, 302.83°)
OKLaboklab(69.91% 0.058 -0.1396)
OKLCHoklch(69.91% 0.151 292.6)
XYZxyz(40.1623, 32.3286, 88.9007)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28AF3 #DBF38A
analogous
#8AA7F3 #A28AF3 #D68AF3
triadic
#A28AF3 #F3A28A #8AF3A2
tetradic
#A28AF3 #F38AA7 #DBF38A #8AF3D6
square
#A28AF3 #F38AA7 #DBF38A #8AF3D6
split-complementary
#A28AF3 #F3D68A #A7F38A
monochromatic
#4A1BE8 #7652ED #A28AF3 #CEC2F9 #E9E3FC

Accessibility & contrast

On white

2.81
#A28AF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#A28AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28AF3
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28AF3#FFFFFF#000000##000000
##A28AF31.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689CF7
Deuteranopia (green-blind)
#6B98F0
Tritanopia (blue-blind)
#8F9EB3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a28af3;
/* rgb */ color: rgb(162, 138, 243);
/* oklch */ color: oklch(69.9% 0.151 292.6);
Tailwind
colors: {
  custom: {
    50: '#c0acf7',
    500: '#a28af3',
    950: '#000000',
  },
}
SCSS
$custom: #a28af3;
$custom-light: #c0acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a28af3",
  "rgb": {
    "r": 162,
    "g": 138,
    "b": 243
  },
  "hsl": {
    "h": 253.714,
    "s": 81.395,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69912,
    "c": 0.15117,
    "h": 292.6
  },
  "luminance": 0.32329
}

Semantic roles & 50–950 ramp

primary
#A28AF3
secondary
#EDF4D7
accent
#DE08AD
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A28AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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