#A28DCD#A28DCD

#A28DCD is a light, moderate violet. Relative luminance 0.311; OKLCH L 68.6% C 0.095 H 299.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A28DCD
RGBrgb(162, 141, 205)
HSLhsl(260, 39%, 68%)
HSVhsv(260, 31%, 80%)
CMYKcmyk(21%, 31.2%, 0%, 19.6%)
CIE-LABlab(62.62, 20.99, -30.11)
CIE-LCHlch(62.62, 36.70, 304.87°)
OKLaboklab(68.6% 0.046 -0.0831)
OKLCHoklch(68.6% 0.095 299)
XYZxyz(35.4422, 31.1387, 61.8889)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28DCD #B8CD8D
analogous
#8D98CD #A28DCD #C28DCD
triadic
#A28DCD #CDA28D #8DCDA2
tetradic
#A28DCD #CD8D98 #B8CD8D #8DCDC2
square
#A28DCD #CD8D98 #B8CD8D #8DCDC2
split-complementary
#A28DCD #CDC28D #98CD8D
monochromatic
#61449B #7F62BA #A28DCD #C5B8E0 #E7E2F2

Accessibility & contrast

On white

2.91
#A28DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#A28DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28DCD
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28DCD#FFFFFF#000000##000000
##A28DCD1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E97D0
Deuteranopia (green-blind)
#8297CB
Tritanopia (blue-blind)
#9A97A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a28dcd;
/* rgb */ color: rgb(162, 141, 205);
/* oklch */ color: oklch(68.6% 0.095 299.0);
Tailwind
colors: {
  custom: {
    50: '#beaedc',
    500: '#a28dcd',
    950: '#000000',
  },
}
SCSS
$custom: #a28dcd;
$custom-light: #beaedc;
$custom-dark: #000000;
JSON
{
  "hex": "#a28dcd",
  "rgb": {
    "r": 162,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 259.688,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68598,
    "c": 0.09498,
    "h": 299
  },
  "luminance": 0.31139
}

Semantic roles & 50–950 ramp

primary
#A28DCD
secondary
#DEE5D1
accent
#B23388
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A28DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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