#A28CF9#A28CF9

#A28CF9 is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.6% C 0.156 H 291.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#A28CF9
RGBrgb(162, 140, 249)
HSLhsl(252, 90%, 76%)
HSVhsv(252, 44%, 98%)
CMYKcmyk(34.9%, 43.8%, 0%, 2.4%)
CIE-LABlab(64.38, 32.45, -51.74)
CIE-LCHlch(64.38, 61.08, 302.09°)
OKLaboklab(70.59% 0.0563 -0.1456)
OKLCHoklch(70.59% 0.156 291.1)
XYZxyz(41.3727, 33.2761, 93.8473)
Luminance0.3328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28CF9 #E3F98C
analogous
#8CADF9 #A28CF9 #D98CF9
triadic
#A28CF9 #F9A28C #8CF9A2
tetradic
#A28CF9 #F98CAD #E3F98C #8CF9D9
square
#A28CF9 #F98CAD #E3F98C #8CF9D9
split-complementary
#A28CF9 #F9D98C #ADF98C
monochromatic
#4418F3 #7352F6 #A28CF9 #D1C6FC #E7E2FD

Accessibility & contrast

On white

2.74
#A28CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#A28CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28CF9
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28CF9#FFFFFF#000000##000000
##A28CF91.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFD
Deuteranopia (green-blind)
#699AF6
Tritanopia (blue-blind)
#8CA1B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a28cf9;
/* rgb */ color: rgb(162, 140, 249);
/* oklch */ color: oklch(70.6% 0.156 291.1);
Tailwind
colors: {
  custom: {
    50: '#c1aefc',
    500: '#a28cf9',
    950: '#000000',
  },
}
SCSS
$custom: #a28cf9;
$custom-light: #c1aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#a28cf9",
  "rgb": {
    "r": 162,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 252.11,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70592,
    "c": 0.15616,
    "h": 291.1
  },
  "luminance": 0.33277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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