#A28CFA#A28CFA

#A28CFA is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.6% C 0.157 H 291.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#A28CFA
RGBrgb(162, 140, 250)
HSLhsl(252, 92%, 76%)
HSVhsv(252, 44%, 98%)
CMYKcmyk(35.2%, 44%, 0%, 2%)
CIE-LABlab(64.43, 32.71, -52.21)
CIE-LCHlch(64.43, 61.61, 302.07°)
OKLaboklab(70.65% 0.0565 -0.147)
OKLCHoklch(70.65% 0.157 291)
XYZxyz(41.5291, 33.3387, 94.6709)
Luminance0.3334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28CFA #E4FA8C
analogous
#8CADFA #A28CFA #D98CFA
triadic
#A28CFA #FAA28C #8CFAA2
tetradic
#A28CFA #FA8CAD #E4FA8C #8CFAD9
square
#A28CFA #FA8CAD #E4FA8C #8CFAD9
split-complementary
#A28CFA #FAD98C #ADFA8C
monochromatic
#4317F5 #7351F7 #A28CFA #D1C7FD #E7E2FE

Accessibility & contrast

On white

2.74
#A28CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#A28CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28CFA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28CFA#FFFFFF#000000##000000
##A28CFA1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#699AF7
Tritanopia (blue-blind)
#8CA1B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a28cfa;
/* rgb */ color: rgb(162, 140, 250);
/* oklch */ color: oklch(70.6% 0.157 291.0);
Tailwind
colors: {
  custom: {
    50: '#c1aefc',
    500: '#a28cfa',
    950: '#000000',
  },
}
SCSS
$custom: #a28cfa;
$custom-light: #c1aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#a28cfa",
  "rgb": {
    "r": 162,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 252,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70646,
    "c": 0.15749,
    "h": 291
  },
  "luminance": 0.3334
}

Semantic roles & 50–950 ramp

primary
#A28CFA
secondary
#EFF6D5
accent
#E600B8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A28CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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