#A28AED#A28AED

#A28AED is a light, vivid violet. Relative luminance 0.320; OKLCH L 69.6% C 0.143 H 293.5°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#A28AED
RGBrgb(162, 138, 237)
HSLhsl(255, 73%, 74%)
HSVhsv(255, 42%, 93%)
CMYKcmyk(31.6%, 41.8%, 0%, 7.1%)
CIE-LABlab(63.32, 30.51, -46.82)
CIE-LCHlch(63.32, 55.88, 303.09°)
OKLaboklab(69.59% 0.0571 -0.1313)
OKLCHoklch(69.59% 0.143 293.5)
XYZxyz(39.2710, 31.9721, 84.2065)
Luminance0.3197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28AED #D5ED8A
analogous
#8AA3ED #A28AED #D38AED
triadic
#A28AED #EDA28A #8AEDA2
tetradic
#A28AED #ED8AA3 #D5ED8A #8AEDD3
square
#A28AED #ED8AA3 #D5ED8A #8AEDD3
split-complementary
#A28AED #EDD38A #A3ED8A
monochromatic
#4F22DB #7855E5 #A28AED #CCBFF5 #EAE4FB

Accessibility & contrast

On white

2.84
#A28AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#A28AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28AED
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28AED#FFFFFF#000000##000000
##A28AED1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AF1
Deuteranopia (green-blind)
#6F98EB
Tritanopia (blue-blind)
#919CB0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a28aed;
/* rgb */ color: rgb(162, 138, 237);
/* oklch */ color: oklch(69.6% 0.143 293.5);
Tailwind
colors: {
  custom: {
    50: '#c0acf3',
    500: '#a28aed',
    950: '#000000',
  },
}
SCSS
$custom: #a28aed;
$custom-light: #c0acf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a28aed",
  "rgb": {
    "r": 162,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 254.545,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69594,
    "c": 0.14318,
    "h": 293.5
  },
  "luminance": 0.31973
}

Semantic roles & 50–950 ramp

primary
#A28AED
secondary
#ECF3D8
accent
#D510A6
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A28AED

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

Preview Lab → · Contrast checker → · Palette generator →

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