#A28FDA#A28FDA

#A28FDA is a light, moderate violet. Relative luminance 0.324; OKLCH L 69.6% C 0.110 H 295.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#A28FDA
RGBrgb(162, 143, 218)
HSLhsl(255, 50%, 71%)
HSVhsv(255, 34%, 85%)
CMYKcmyk(25.7%, 34.4%, 0%, 14.5%)
CIE-LABlab(63.66, 22.94, -35.76)
CIE-LCHlch(63.66, 42.48, 302.68°)
OKLaboklab(69.57% 0.0464 -0.0993)
OKLCHoklch(69.57% 0.11 295)
XYZxyz(37.3746, 32.3878, 70.5985)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FDA #C7DA8F
analogous
#8FA1DA #A28FDA #C78FDA
triadic
#A28FDA #DAA28F #8FDAA2
tetradic
#A28FDA #DA8FA1 #C7DA8F #8FDAC7
square
#A28FDA #DA8FA1 #C7DA8F #8FDAC7
split-complementary
#A28FDA #DAC78F #A1DA8F
monochromatic
#5A3BB3 #7C61CB #A28FDA #C8BDE9 #ECE8F7

Accessibility & contrast

On white

2.81
#A28FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#A28FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FDA
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FDA#FFFFFF#000000##000000
##A28FDA1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9BDD
Deuteranopia (green-blind)
#7E99D8
Tritanopia (blue-blind)
#969CAB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a28fda;
/* rgb */ color: rgb(162, 143, 218);
/* oklch */ color: oklch(69.6% 0.110 295.0);
Tailwind
colors: {
  custom: {
    50: '#bfb0e5',
    500: '#a28fda',
    950: '#000000',
  },
}
SCSS
$custom: #a28fda;
$custom-light: #bfb0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a28fda",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 255.2,
    "s": 50.336,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69571,
    "c": 0.1096,
    "h": 295
  },
  "luminance": 0.32388
}

Semantic roles & 50–950 ramp

primary
#A28FDA
secondary
#E7ECD8
accent
#BE2898
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A28FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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