#A28EFA#A28EFA

#A28EFA is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.0% C 0.155 H 290.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A28EFA
RGBrgb(162, 142, 250)
HSLhsl(251, 92%, 77%)
HSVhsv(251, 43%, 98%)
CMYKcmyk(35.2%, 43.2%, 0%, 2%)
CIE-LABlab(64.91, 31.57, -51.46)
CIE-LCHlch(64.91, 60.38, 301.53°)
OKLaboklab(71% 0.0539 -0.1448)
OKLCHoklch(71% 0.155 290.4)
XYZxyz(41.8240, 33.9285, 94.7692)
Luminance0.3393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28EFA #E6FA8E
analogous
#8EB0FA #A28EFA #D88EFA
triadic
#A28EFA #FAA28E #8EFAA2
tetradic
#A28EFA #FA8EB0 #E6FA8E #8EFAD8
square
#A28EFA #FA8EB0 #E6FA8E #8EFAD8
split-complementary
#A28EFA #FAD88E #B0FA8E
monochromatic
#4219F5 #7253F7 #A28EFA #D2C9FD #E7E2FE

Accessibility & contrast

On white

2.70
#A28EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A28EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28EFA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28EFA#FFFFFF#000000##000000
##A28EFA1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFE
Deuteranopia (green-blind)
#6B9BF7
Tritanopia (blue-blind)
#8CA3B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a28efa;
/* rgb */ color: rgb(162, 142, 250);
/* oklch */ color: oklch(71.0% 0.155 290.4);
Tailwind
colors: {
  custom: {
    50: '#c1affc',
    500: '#a28efa',
    950: '#000000',
  },
}
SCSS
$custom: #a28efa;
$custom-light: #c1affc;
$custom-dark: #000000;
JSON
{
  "hex": "#a28efa",
  "rgb": {
    "r": 162,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 251.111,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.71003,
    "c": 0.15454,
    "h": 290.4
  },
  "luminance": 0.3393
}

Semantic roles & 50–950 ramp

primary
#A28EFA
secondary
#F0F6D5
accent
#E600BB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A28EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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