#A28FF2#A28FF2

#A28FF2 is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.8% C 0.142 H 291.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#A28FF2
RGBrgb(162, 143, 242)
HSLhsl(252, 79%, 75%)
HSVhsv(252, 41%, 95%)
CMYKcmyk(33.1%, 40.9%, 0%, 5.1%)
CIE-LABlab(64.75, 28.94, -47.32)
CIE-LCHlch(64.75, 55.46, 301.45°)
OKLaboklab(70.76% 0.0513 -0.1328)
OKLCHoklch(70.76% 0.142 291.1)
XYZxyz(40.7456, 33.7362, 88.3522)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FF2 #DFF28F
analogous
#8FADF2 #A28FF2 #D38FF2
triadic
#A28FF2 #F2A28F #8FF2A2
tetradic
#A28FF2 #F28FAD #DFF28F #8FF2D3
square
#A28FF2 #F28FAD #DFF28F #8FF2D3
split-complementary
#A28FF2 #F2D38F #ADF28F
monochromatic
#4721E5 #7458EC #A28FF2 #D0C6F8 #E8E4FC

Accessibility & contrast

On white

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

On black

7.75
#A28FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FF2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FF2#FFFFFF#000000##000000
##A28FF21.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#729BF0
Tritanopia (blue-blind)
#8FA1B5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a28ff2;
/* rgb */ color: rgb(162, 143, 242);
/* oklch */ color: oklch(70.8% 0.142 291.1);
Tailwind
colors: {
  custom: {
    50: '#c0b0f7',
    500: '#a28ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a28ff2;
$custom-light: #c0b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a28ff2",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 251.515,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70759,
    "c": 0.14233,
    "h": 291.1
  },
  "luminance": 0.33737
}

Semantic roles & 50–950 ramp

primary
#A28FF2
secondary
#EEF4D7
accent
#DB0AB3
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #A28FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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