#A28ECD#A28ECD

#A28ECD is a light, moderate violet. Relative luminance 0.314; OKLCH L 68.8% C 0.093 H 298.5°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A28ECD
RGBrgb(162, 142, 205)
HSLhsl(259, 39%, 68%)
HSVhsv(259, 31%, 80%)
CMYKcmyk(21%, 30.7%, 0%, 19.6%)
CIE-LABlab(62.87, 20.42, -29.73)
CIE-LCHlch(62.87, 36.06, 304.48°)
OKLaboklab(68.79% 0.0445 -0.082)
OKLCHoklch(68.79% 0.093 298.5)
XYZxyz(35.5903, 31.4350, 61.9383)
Luminance0.3144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28ECD #B9CD8E
analogous
#8E99CD #A28ECD #C18ECD
triadic
#A28ECD #CDA28E #8ECDA2
tetradic
#A28ECD #CD8E99 #B9CD8E #8ECDC1
square
#A28ECD #CD8E99 #B9CD8E #8ECDC1
split-complementary
#A28ECD #CDC18E #99CD8E
monochromatic
#60459C #7F64BA #A28ECD #C5B8E0 #E8E3F3

Accessibility & contrast

On white

2.88
#A28ECD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#A28ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28ECD
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28ECD#FFFFFF#000000##000000
##A28ECD1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8098D0
Deuteranopia (green-blind)
#8398CB
Tritanopia (blue-blind)
#9A98A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a28ecd;
/* rgb */ color: rgb(162, 142, 205);
/* oklch */ color: oklch(68.8% 0.093 298.5);
Tailwind
colors: {
  custom: {
    50: '#beafdc',
    500: '#a28ecd',
    950: '#000000',
  },
}
SCSS
$custom: #a28ecd;
$custom-light: #beafdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a28ecd",
  "rgb": {
    "r": 162,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 259.048,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68788,
    "c": 0.09333,
    "h": 298.5
  },
  "luminance": 0.31435
}

Semantic roles & 50–950 ramp

primary
#A28ECD
secondary
#DFE5D2
accent
#B2348A
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A28ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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