#A28FFD#A28FFD

#A28FFD is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.3% C 0.157 H 289.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A28FFD
RGBrgb(162, 143, 253)
HSLhsl(250, 96%, 78%)
HSVhsv(250, 43%, 99%)
CMYKcmyk(36%, 43.5%, 0%, 0.8%)
CIE-LABlab(65.29, 31.79, -52.49)
CIE-LCHlch(65.29, 61.37, 301.20°)
OKLaboklab(71.34% 0.0531 -0.1478)
OKLCHoklch(71.34% 0.157 289.8)
XYZxyz(42.4476, 34.4170, 97.3162)
Luminance0.3442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FFD #EAFD8F
analogous
#8FB3FD #A28FFD #D98FFD
triadic
#A28FFD #FDA28F #8FFDA2
tetradic
#A28FFD #FD8FB3 #EAFD8F #8FFDD9
square
#A28FFD #FD8FB3 #EAFD8F #8FFDD9
split-complementary
#A28FFD #FDD98F #B3FD8F
monochromatic
#3E17FB #7053FC #A28FFD #D4CBFE #E6E1FE

Accessibility & contrast

On white

2.66
#A28FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#A28FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FFD
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FFD#FFFFFF#000000##000000
##A28FFD1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#6A9CFA
Tritanopia (blue-blind)
#8BA4BA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a28ffd;
/* rgb */ color: rgb(162, 143, 253);
/* oklch */ color: oklch(71.3% 0.157 289.8);
Tailwind
colors: {
  custom: {
    50: '#c1b0fe',
    500: '#a28ffd',
    950: '#000000',
  },
}
SCSS
$custom: #a28ffd;
$custom-light: #c1b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a28ffd",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 250.364,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.71344,
    "c": 0.15708,
    "h": 289.8
  },
  "luminance": 0.34418
}

Semantic roles & 50–950 ramp

primary
#A28FFD
secondary
#F1F7D4
accent
#E600BE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A28FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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