#A28FF3#A28FF3

#A28FF3 is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.8% C 0.144 H 291.0°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#A28FF3
RGBrgb(162, 143, 243)
HSLhsl(251, 81%, 76%)
HSVhsv(251, 41%, 95%)
CMYKcmyk(33.3%, 41.2%, 0%, 4.7%)
CIE-LABlab(64.80, 29.19, -47.79)
CIE-LCHlch(64.80, 56.00, 301.42°)
OKLaboklab(70.81% 0.0515 -0.1341)
OKLCHoklch(70.81% 0.144 291)
XYZxyz(40.8962, 33.7964, 89.1453)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FF3 #E0F38F
analogous
#8FAEF3 #A28FF3 #D48FF3
triadic
#A28FF3 #F3A28F #8FF3A2
tetradic
#A28FF3 #F38FAE #E0F38F #8FF3D4
square
#A28FF3 #F38FAE #E0F38F #8FF3D4
split-complementary
#A28FF3 #F3D48F #AEF38F
monochromatic
#4620E7 #7458ED #A28FF3 #D0C6F9 #E8E3FC

Accessibility & contrast

On white

2.71
#A28FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#A28FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FF3
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FF3#FFFFFF#000000##000000
##A28FF31.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF7
Deuteranopia (green-blind)
#719BF1
Tritanopia (blue-blind)
#8EA2B5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a28ff3;
/* rgb */ color: rgb(162, 143, 243);
/* oklch */ color: oklch(70.8% 0.144 291.0);
Tailwind
colors: {
  custom: {
    50: '#c0b0f7',
    500: '#a28ff3',
    950: '#000000',
  },
}
SCSS
$custom: #a28ff3;
$custom-light: #c0b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a28ff3",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 243
  },
  "hsl": {
    "h": 251.4,
    "s": 80.645,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70811,
    "c": 0.14367,
    "h": 291
  },
  "luminance": 0.33797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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