#A28FEE#A28FEE

#A28FEE is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.6% C 0.137 H 291.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#A28FEE
RGBrgb(162, 143, 238)
HSLhsl(252, 74%, 75%)
HSVhsv(252, 40%, 93%)
CMYKcmyk(31.9%, 39.9%, 0%, 6.7%)
CIE-LABlab(64.56, 27.91, -45.41)
CIE-LCHlch(64.56, 53.31, 301.58°)
OKLaboklab(70.55% 0.0506 -0.1272)
OKLCHoklch(70.55% 0.137 291.7)
XYZxyz(40.1514, 33.4985, 85.2228)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FEE #DBEE8F
analogous
#8FACEE #A28FEE #D28FEE
triadic
#A28FEE #EEA28F #8FEEA2
tetradic
#A28FEE #EE8FAC #DBEE8F #8FEED2
square
#A28FEE #EE8FAC #DBEE8F #8FEED2
split-complementary
#A28FEE #EED28F #ACEE8F
monochromatic
#4A25DE #765AE6 #A28FEE #CEC4F6 #E9E4FB

Accessibility & contrast

On white

2.73
#A28FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#A28FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FEE
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FEE#FFFFFF#000000##000000
##A28FEE1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF2
Deuteranopia (green-blind)
#749BEC
Tritanopia (blue-blind)
#90A0B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a28fee;
/* rgb */ color: rgb(162, 143, 238);
/* oklch */ color: oklch(70.6% 0.137 291.7);
Tailwind
colors: {
  custom: {
    50: '#c0b0f4',
    500: '#a28fee',
    950: '#000000',
  },
}
SCSS
$custom: #a28fee;
$custom-light: #c0b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a28fee",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 252,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70552,
    "c": 0.13692,
    "h": 291.7
  },
  "luminance": 0.33499
}

Semantic roles & 50–950 ramp

primary
#A28FEE
secondary
#EDF3D8
accent
#D610AE
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A28FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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