#A28FF1#A28FF1

#A28FF1 is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.7% C 0.141 H 291.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A28FF1
RGBrgb(162, 143, 241)
HSLhsl(252, 78%, 75%)
HSVhsv(252, 41%, 95%)
CMYKcmyk(32.8%, 40.7%, 0%, 5.5%)
CIE-LABlab(64.70, 28.68, -46.84)
CIE-LCHlch(64.70, 54.92, 301.48°)
OKLaboklab(70.71% 0.0511 -0.1314)
OKLCHoklch(70.71% 0.141 291.3)
XYZxyz(40.5958, 33.6763, 87.5634)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FF1 #DEF18F
analogous
#8FADF1 #A28FF1 #D38FF1
triadic
#A28FF1 #F1A28F #8FF1A2
tetradic
#A28FF1 #F18FAD #DEF18F #8FF1D3
square
#A28FF1 #F18FAD #DEF18F #8FF1D3
split-complementary
#A28FF1 #F1D38F #ADF18F
monochromatic
#4822E3 #7559EA #A28FF1 #CFC5F8 #E8E4FC

Accessibility & contrast

On white

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

On black

7.74
#A28FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FF1
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FF1#FFFFFF#000000##000000
##A28FF11.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF5
Deuteranopia (green-blind)
#729BEF
Tritanopia (blue-blind)
#8FA1B4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a28ff1;
/* rgb */ color: rgb(162, 143, 241);
/* oklch */ color: oklch(70.7% 0.141 291.3);
Tailwind
colors: {
  custom: {
    50: '#c0b0f6',
    500: '#a28ff1',
    950: '#000000',
  },
}
SCSS
$custom: #a28ff1;
$custom-light: #c0b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a28ff1",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 241
  },
  "hsl": {
    "h": 251.633,
    "s": 77.778,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70707,
    "c": 0.14098,
    "h": 291.3
  },
  "luminance": 0.33677
}

Semantic roles & 50–950 ramp

primary
#A28FF1
secondary
#EEF3D8
accent
#DA0BB2
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #A28FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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