#A28DEC#A28DEC

#A28DEC is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.1% C 0.137 H 292.7°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#A28DEC
RGBrgb(162, 141, 236)
HSLhsl(253, 71%, 74%)
HSVhsv(253, 40%, 93%)
CMYKcmyk(31.4%, 40.3%, 0%, 7.5%)
CIE-LABlab(63.99, 28.55, -45.22)
CIE-LCHlch(63.99, 53.47, 302.26°)
OKLaboklab(70.08% 0.0529 -0.1267)
OKLCHoklch(70.08% 0.137 292.7)
XYZxyz(39.5616, 32.7865, 83.5847)
Luminance0.3279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28DEC #D7EC8D
analogous
#8DA8EC #A28DEC #D28DEC
triadic
#A28DEC #ECA28D #8DECA2
tetradic
#A28DEC #EC8DA8 #D7EC8D #8DECD2
square
#A28DEC #EC8DA8 #D7EC8D #8DECD2
split-complementary
#A28DEC #ECD28D #A8EC8D
monochromatic
#4D24DA #7759E3 #A28DEC #CDC1F5 #EAE5FB

Accessibility & contrast

On white

2.78
#A28DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#A28DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28DEC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28DEC#FFFFFF#000000##000000
##A28DEC1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF0
Deuteranopia (green-blind)
#7399EA
Tritanopia (blue-blind)
#919EB1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28dec;
/* rgb */ color: rgb(162, 141, 236);
/* oklch */ color: oklch(70.1% 0.137 292.7);
Tailwind
colors: {
  custom: {
    50: '#c0aef2',
    500: '#a28dec',
    950: '#000000',
  },
}
SCSS
$custom: #a28dec;
$custom-light: #c0aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a28dec",
  "rgb": {
    "r": 162,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 253.263,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70085,
    "c": 0.13725,
    "h": 292.7
  },
  "luminance": 0.32787
}

Semantic roles & 50–950 ramp

primary
#A28DEC
secondary
#EDF2D9
accent
#D312A9
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A28DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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