#A28CDC#A28CDC

#A28CDC is a light, moderate violet. Relative luminance 0.316; OKLCH L 69.1% C 0.117 H 295.8°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#A28CDC
RGBrgb(162, 140, 220)
HSLhsl(257, 53%, 71%)
HSVhsv(257, 36%, 86%)
CMYKcmyk(26.4%, 36.4%, 0%, 13.7%)
CIE-LABlab(63.01, 25.14, -37.88)
CIE-LCHlch(63.01, 45.46, 303.57°)
OKLaboklab(69.11% 0.051 -0.1054)
OKLCHoklch(69.11% 0.117 295.8)
XYZxyz(37.1936, 31.6044, 71.8370)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28CDC #C6DC8C
analogous
#8C9EDC #A28CDC #CA8CDC
triadic
#A28CDC #DCA28C #8CDCA2
tetradic
#A28CDC #DC8C9E #C6DC8C #8CDCCA
square
#A28CDC #DC8C9E #C6DC8C #8CDCCA
split-complementary
#A28CDC #DCCA8C #9EDC8C
monochromatic
#5A37B6 #7C5DCE #A28CDC #C8BBEA #ECE8F8

Accessibility & contrast

On white

2.87
#A28CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#A28CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28CDC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28CDC#FFFFFF#000000##000000
##A28CDC1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#7A97DA
Tritanopia (blue-blind)
#969AAA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a28cdc;
/* rgb */ color: rgb(162, 140, 220);
/* oklch */ color: oklch(69.1% 0.117 295.8);
Tailwind
colors: {
  custom: {
    50: '#bfade7',
    500: '#a28cdc',
    950: '#000000',
  },
}
SCSS
$custom: #a28cdc;
$custom-light: #bfade7;
$custom-dark: #000000;
JSON
{
  "hex": "#a28cdc",
  "rgb": {
    "r": 162,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 256.5,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69105,
    "c": 0.11711,
    "h": 295.8
  },
  "luminance": 0.31605
}

Semantic roles & 50–950 ramp

primary
#A28CDC
secondary
#E7EDD7
accent
#C12596
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A28CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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