#A28CED#A28CED

#A28CED is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.0% C 0.140 H 292.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#A28CED
RGBrgb(162, 140, 237)
HSLhsl(254, 73%, 74%)
HSVhsv(254, 41%, 93%)
CMYKcmyk(31.6%, 40.9%, 0%, 7.1%)
CIE-LABlab(63.80, 29.37, -46.07)
CIE-LCHlch(63.80, 54.64, 302.52°)
OKLaboklab(69.96% 0.0544 -0.1291)
OKLCHoklch(69.96% 0.14 292.8)
XYZxyz(39.5606, 32.5512, 84.3031)
Luminance0.3255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28CED #D7ED8C
analogous
#8CA7ED #A28CED #D38CED
triadic
#A28CED #EDA28C #8CEDA2
tetradic
#A28CED #ED8CA7 #D7ED8C #8CEDD3
square
#A28CED #ED8CA7 #D7ED8C #8CEDD3
split-complementary
#A28CED #EDD38C #A7ED8C
monochromatic
#4D22DC #7757E5 #A28CED #CDC1F5 #EAE5FB

Accessibility & contrast

On white

2.80
#A28CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#A28CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28CED
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28CED#FFFFFF#000000##000000
##A28CED1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF1
Deuteranopia (green-blind)
#7199EB
Tritanopia (blue-blind)
#919EB1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28ced;
/* rgb */ color: rgb(162, 140, 237);
/* oklch */ color: oklch(70.0% 0.140 292.8);
Tailwind
colors: {
  custom: {
    50: '#c0adf3',
    500: '#a28ced',
    950: '#000000',
  },
}
SCSS
$custom: #a28ced;
$custom-light: #c0adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a28ced",
  "rgb": {
    "r": 162,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 253.608,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69955,
    "c": 0.14013,
    "h": 292.8
  },
  "luminance": 0.32552
}

Semantic roles & 50–950 ramp

primary
#A28CED
secondary
#EDF3D8
accent
#D510A8
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A28CED

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

Preview Lab → · Contrast checker → · Palette generator →

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