#A28CD4#A28CD4

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

Color values

HEX#A28CD4
RGBrgb(162, 140, 212)
HSLhsl(258, 46%, 69%)
HSVhsv(258, 34%, 83%)
CMYKcmyk(23.6%, 34%, 0%, 16.9%)
CIE-LABlab(62.67, 23.21, -33.96)
CIE-LCHlch(62.67, 41.13, 304.35°)
OKLaboklab(68.73% 0.0492 -0.0941)
OKLCHoklch(68.73% 0.106 297.6)
XYZxyz(36.1593, 31.1907, 66.3900)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28CD4 #BED48C
analogous
#8C9AD4 #A28CD4 #C68CD4
triadic
#A28CD4 #D4A28C #8CD4A2
tetradic
#A28CD4 #D48C9A #BED48C #8CD4C6
square
#A28CD4 #D48C9A #BED48C #8CD4C6
split-complementary
#A28CD4 #D4C68C #9AD48C
monochromatic
#5E3EA7 #7E5FC3 #A28CD4 #C6B9E5 #EAE5F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A28CD4#FFFFFF#000000##000000
##A28CD41.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)
#7A98D7
Deuteranopia (green-blind)
#7E97D2
Tritanopia (blue-blind)
#9898A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a28cd4;
/* rgb */ color: rgb(162, 140, 212);
/* oklch */ color: oklch(68.7% 0.106 297.6);
Tailwind
colors: {
  custom: {
    50: '#beade1',
    500: '#a28cd4',
    950: '#000000',
  },
}
SCSS
$custom: #a28cd4;
$custom-light: #beade1;
$custom-dark: #000000;
JSON
{
  "hex": "#a28cd4",
  "rgb": {
    "r": 162,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 258.333,
    "s": 45.57,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68727,
    "c": 0.10619,
    "h": 297.6
  },
  "luminance": 0.31191
}

Semantic roles & 50–950 ramp

primary
#A28CD4
secondary
#E2E8D3
accent
#B92D8E
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A28CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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