#A28FF4#A28FF4

#A28FF4 is a light, vivid violet. Relative luminance 0.339; OKLCH L 70.9% C 0.145 H 290.9°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A28FF4
RGBrgb(162, 143, 244)
HSLhsl(251, 82%, 76%)
HSVhsv(251, 41%, 96%)
CMYKcmyk(33.6%, 41.4%, 0%, 4.3%)
CIE-LABlab(64.85, 29.45, -48.26)
CIE-LCHlch(64.85, 56.54, 301.39°)
OKLaboklab(70.86% 0.0517 -0.1355)
OKLCHoklch(70.86% 0.145 290.9)
XYZxyz(41.0476, 33.8570, 89.9428)
Luminance0.3386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FF4 #E1F48F
analogous
#8FAEF4 #A28FF4 #D48FF4
triadic
#A28FF4 #F4A28F #8FF4A2
tetradic
#A28FF4 #F48FAE #E1F48F #8FF4D4
square
#A28FF4 #F48FAE #E1F48F #8FF4D4
split-complementary
#A28FF4 #F4D48F #AEF48F
monochromatic
#4520E9 #7457EF #A28FF4 #D0C7F9 #E8E3FC

Accessibility & contrast

On white

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

On black

7.77
#A28FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FF4
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FF4#FFFFFF#000000##000000
##A28FF41.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9FF8
Deuteranopia (green-blind)
#709BF2
Tritanopia (blue-blind)
#8EA2B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a28ff4;
/* rgb */ color: rgb(162, 143, 244);
/* oklch */ color: oklch(70.9% 0.145 290.9);
Tailwind
colors: {
  custom: {
    50: '#c0b0f8',
    500: '#a28ff4',
    950: '#000000',
  },
}
SCSS
$custom: #a28ff4;
$custom-light: #c0b0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a28ff4",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 244
  },
  "hsl": {
    "h": 251.287,
    "s": 82.114,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70863,
    "c": 0.14502,
    "h": 290.9
  },
  "luminance": 0.33858
}

Semantic roles & 50–950 ramp

primary
#A28FF4
secondary
#EFF4D7
accent
#DF07B6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #A28FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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