#A28CF3#A28CF3

#A28CF3 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.3% C 0.148 H 292.0°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#A28CF3
RGBrgb(162, 140, 243)
HSLhsl(253, 81%, 75%)
HSVhsv(253, 42%, 95%)
CMYKcmyk(33.3%, 42.4%, 0%, 4.7%)
CIE-LABlab(64.09, 30.90, -48.92)
CIE-LCHlch(64.09, 57.86, 302.28°)
OKLaboklab(70.27% 0.0554 -0.1374)
OKLCHoklch(70.27% 0.148 292)
XYZxyz(40.4518, 32.9078, 88.9972)
Luminance0.3291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28CF3 #DDF38C
analogous
#8CA9F3 #A28CF3 #D68CF3
triadic
#A28CF3 #F3A28C #8CF3A2
tetradic
#A28CF3 #F38CA9 #DDF38C #8CF3D6
square
#A28CF3 #F38CA9 #DDF38C #8CF3D6
split-complementary
#A28CF3 #F3D68C #A9F38C
monochromatic
#481DE7 #7555ED #A28CF3 #CFC3F9 #E9E3FC

Accessibility & contrast

On white

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

On black

7.58
#A28CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28CF3
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28CF3#FFFFFF#000000##000000
##A28CF31.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF7
Deuteranopia (green-blind)
#6D99F0
Tritanopia (blue-blind)
#8F9FB4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28cf3;
/* rgb */ color: rgb(162, 140, 243);
/* oklch */ color: oklch(70.3% 0.148 292.0);
Tailwind
colors: {
  custom: {
    50: '#c0aef7',
    500: '#a28cf3',
    950: '#000000',
  },
}
SCSS
$custom: #a28cf3;
$custom-light: #c0aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#a28cf3",
  "rgb": {
    "r": 162,
    "g": 140,
    "b": 243
  },
  "hsl": {
    "h": 252.816,
    "s": 81.102,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7027,
    "c": 0.14817,
    "h": 292
  },
  "luminance": 0.32909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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