#A28BDA#A28BDA

#A28BDA is a light, moderate violet. Relative luminance 0.312; OKLCH L 68.8% C 0.116 H 296.6°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#A28BDA
RGBrgb(162, 139, 218)
HSLhsl(257, 52%, 70%)
HSVhsv(257, 36%, 85%)
CMYKcmyk(25.7%, 36.2%, 0%, 14.5%)
CIE-LABlab(62.68, 25.22, -37.28)
CIE-LCHlch(62.68, 45.01, 304.08°)
OKLaboklab(68.82% 0.052 -0.1037)
OKLCHoklch(68.82% 0.116 296.6)
XYZxyz(36.7848, 31.2082, 70.4019)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BDA #C3DA8B
analogous
#8B9CDA #A28BDA #C98BDA
triadic
#A28BDA #DAA28B #8BDAA2
tetradic
#A28BDA #DA8B9C #C3DA8B #8BDAC9
square
#A28BDA #DA8B9C #C3DA8B #8BDAC9
split-complementary
#A28BDA #DAC98B #9CDA8B
monochromatic
#5C39B2 #7D5DCB #A28BDA #C7B9E9 #ECE8F8

Accessibility & contrast

On white

2.90
#A28BDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#A28BDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28BDA
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BDA#FFFFFF#000000##000000
##A28BDA1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7798DD
Deuteranopia (green-blind)
#7A97D8
Tritanopia (blue-blind)
#9798A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a28bda;
/* rgb */ color: rgb(162, 139, 218);
/* oklch */ color: oklch(68.8% 0.116 296.6);
Tailwind
colors: {
  custom: {
    50: '#bfade5',
    500: '#a28bda',
    950: '#000000',
  },
}
SCSS
$custom: #a28bda;
$custom-light: #bfade5;
$custom-dark: #000000;
JSON
{
  "hex": "#a28bda",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 218
  },
  "hsl": {
    "h": 257.468,
    "s": 51.634,
    "l": 70
  },
  "oklch": {
    "l": 0.68823,
    "c": 0.11599,
    "h": 296.6
  },
  "luminance": 0.31209
}

Semantic roles & 50–950 ramp

primary
#A28BDA
secondary
#E5EBD5
accent
#BF2693
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A28BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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