#A28AFC#A28AFC

#A28AFC is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.4% C 0.163 H 291.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#A28AFC
RGBrgb(162, 138, 252)
HSLhsl(253, 95%, 76%)
HSVhsv(253, 45%, 99%)
CMYKcmyk(35.7%, 45.2%, 0%, 1.2%)
CIE-LABlab(64.07, 34.37, -53.89)
CIE-LCHlch(64.07, 63.91, 302.53°)
OKLaboklab(70.4% 0.0593 -0.1519)
OKLCHoklch(70.4% 0.163 291.3)
XYZxyz(41.5548, 32.8856, 96.2347)
Luminance0.3289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28AFC #E4FC8A
analogous
#8AABFC #A28AFC #DB8AFC
triadic
#A28AFC #FCA28A #8AFCA2
tetradic
#A28AFC #FC8AAB #E4FC8A #8AFCDB
square
#A28AFC #FC8AAB #E4FC8A #8AFCDB
split-complementary
#A28AFC #FCDB8A #ABFC8A
monochromatic
#4313F9 #734EFA #A28AFC #D1C6FE #E7E1FE

Accessibility & contrast

On white

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

On black

7.58
#A28AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28AFC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28AFC#FFFFFF#000000##000000
##A28AFC1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#8BA0B7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28afc;
/* rgb */ color: rgb(162, 138, 252);
/* oklch */ color: oklch(70.4% 0.163 291.3);
Tailwind
colors: {
  custom: {
    50: '#c1acfe',
    500: '#a28afc',
    950: '#000000',
  },
}
SCSS
$custom: #a28afc;
$custom-light: #c1acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a28afc",
  "rgb": {
    "r": 162,
    "g": 138,
    "b": 252
  },
  "hsl": {
    "h": 252.632,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70403,
    "c": 0.16308,
    "h": 291.3
  },
  "luminance": 0.32887
}

Semantic roles & 50–950 ramp

primary
#A28AFC
secondary
#EFF6D5
accent
#E600B5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A28AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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