#A28CF4#A28CF4

#A28CF4 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.3% C 0.150 H 291.8°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#A28CF4
RGBrgb(162, 140, 244)
HSLhsl(253, 83%, 75%)
HSVhsv(253, 43%, 96%)
CMYKcmyk(33.6%, 42.6%, 0%, 4.3%)
CIE-LABlab(64.14, 31.16, -49.39)
CIE-LCHlch(64.14, 58.40, 302.25°)
OKLaboklab(70.32% 0.0556 -0.1388)
OKLCHoklch(70.32% 0.15 291.8)
XYZxyz(40.6033, 32.9683, 89.7947)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28CF4 #DEF48C
analogous
#8CAAF4 #A28CF4 #D68CF4
triadic
#A28CF4 #F4A28C #8CF4A2
tetradic
#A28CF4 #F48CAA #DEF48C #8CF4D6
square
#A28CF4 #F48CAA #DEF48C #8CF4D6
split-complementary
#A28CF4 #F4D68C #AAF48C
monochromatic
#481CE9 #7554EF #A28CF4 #CFC4F9 #E8E3FC

Accessibility & contrast

On white

2.77
#A28CF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#A28CF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28CF4
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28CF4#FFFFFF#000000##000000
##A28CF41.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF8
Deuteranopia (green-blind)
#6D99F1
Tritanopia (blue-blind)
#8EA0B4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28cf4;
/* rgb */ color: rgb(162, 140, 244);
/* oklch */ color: oklch(70.3% 0.150 291.8);
Tailwind
colors: {
  custom: {
    50: '#c0aef8',
    500: '#a28cf4',
    950: '#000000',
  },
}
SCSS
$custom: #a28cf4;
$custom-light: #c0aef8;
$custom-dark: #000000;
JSON
{
  "hex": "#a28cf4",
  "rgb": {
    "r": 162,
    "g": 140,
    "b": 244
  },
  "hsl": {
    "h": 252.692,
    "s": 82.54,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70323,
    "c": 0.14951,
    "h": 291.8
  },
  "luminance": 0.32969
}

Semantic roles & 50–950 ramp

primary
#A28CF4
secondary
#EEF4D7
accent
#DF07B1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #A28CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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