#A28FE3#A28FE3

#A28FE3 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.0% C 0.122 H 293.4°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#A28FE3
RGBrgb(162, 143, 227)
HSLhsl(254, 60%, 73%)
HSVhsv(254, 37%, 89%)
CMYKcmyk(28.6%, 37%, 0%, 11%)
CIE-LABlab(64.06, 25.15, -40.13)
CIE-LCHlch(64.06, 47.36, 302.07°)
OKLaboklab(70% 0.0484 -0.1119)
OKLCHoklch(70% 0.122 293.4)
XYZxyz(38.5845, 32.8718, 76.9702)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FE3 #D0E38F
analogous
#8FA6E3 #A28FE3 #CC8FE3
triadic
#A28FE3 #E3A28F #8FE3A2
tetradic
#A28FE3 #E38FA6 #D0E38F #8FE3CC
square
#A28FE3 #E38FA6 #D0E38F #8FE3CC
split-complementary
#A28FE3 #E3CC8F #A6E38F
monochromatic
#5332C6 #795ED7 #A28FE3 #CBC0EF #EBE7F9

Accessibility & contrast

On white

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

On black

7.57
#A28FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FE3
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FE3#FFFFFF#000000##000000
##A28FE31.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#789CE6
Deuteranopia (green-blind)
#7A9AE1
Tritanopia (blue-blind)
#949EAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28fe3;
/* rgb */ color: rgb(162, 143, 227);
/* oklch */ color: oklch(70.0% 0.122 293.4);
Tailwind
colors: {
  custom: {
    50: '#bfb0ec',
    500: '#a28fe3',
    950: '#000000',
  },
}
SCSS
$custom: #a28fe3;
$custom-light: #bfb0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a28fe3",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 227
  },
  "hsl": {
    "h": 253.571,
    "s": 60,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70002,
    "c": 0.12194,
    "h": 293.4
  },
  "luminance": 0.32872
}

Semantic roles & 50–950 ramp

primary
#A28FE3
secondary
#EBF0DB
accent
#C81EA1
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A28FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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