#A28AF0#A28AF0

#A28AF0 is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.8% C 0.147 H 293.0°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#A28AF0
RGBrgb(162, 138, 240)
HSLhsl(254, 77%, 74%)
HSVhsv(254, 43%, 94%)
CMYKcmyk(32.5%, 42.5%, 0%, 5.9%)
CIE-LABlab(63.47, 31.27, -48.25)
CIE-LCHlch(63.47, 57.49, 302.95°)
OKLaboklab(69.75% 0.0575 -0.1355)
OKLCHoklch(69.75% 0.147 293)
XYZxyz(39.7129, 32.1489, 86.5342)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28AF0 #D8F08A
analogous
#8AA5F0 #A28AF0 #D58AF0
triadic
#A28AF0 #F0A28A #8AF0A2
tetradic
#A28AF0 #F08AA5 #D8F08A #8AF0D5
square
#A28AF0 #F08AA5 #D8F08A #8AF0D5
split-complementary
#A28AF0 #F0D58A #A5F08A
monochromatic
#4C1EE2 #7754E9 #A28AF0 #CDC0F7 #E9E4FC

Accessibility & contrast

On white

2.83
#A28AF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#A28AF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28AF0
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28AF0#FFFFFF#000000##000000
##A28AF01.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF4
Deuteranopia (green-blind)
#6D98ED
Tritanopia (blue-blind)
#909DB1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a28af0;
/* rgb */ color: rgb(162, 138, 240);
/* oklch */ color: oklch(69.8% 0.147 293.0);
Tailwind
colors: {
  custom: {
    50: '#c0acf5',
    500: '#a28af0',
    950: '#000000',
  },
}
SCSS
$custom: #a28af0;
$custom-light: #c0acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a28af0",
  "rgb": {
    "r": 162,
    "g": 138,
    "b": 240
  },
  "hsl": {
    "h": 254.118,
    "s": 77.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69752,
    "c": 0.14717,
    "h": 293
  },
  "luminance": 0.3215
}

Semantic roles & 50–950 ramp

primary
#A28AF0
secondary
#EDF3D8
accent
#DA0CA9
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #A28AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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