#A28CD9#A28CD9

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

Color values

HEX#A28CD9
RGBrgb(162, 140, 217)
HSLhsl(257, 50%, 70%)
HSVhsv(257, 35%, 85%)
CMYKcmyk(25.3%, 35.5%, 0%, 14.9%)
CIE-LABlab(62.88, 24.41, -36.41)
CIE-LCHlch(62.88, 43.84, 303.84°)
OKLaboklab(68.96% 0.0504 -0.1012)
OKLCHoklch(68.96% 0.113 296.5)
XYZxyz(36.7998, 31.4469, 69.7633)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28CD9 #C3D98C
analogous
#8C9CD9 #A28CD9 #C98CD9
triadic
#A28CD9 #D9A28C #8CD9A2
tetradic
#A28CD9 #D98C9C #C3D98C #8CD9C9
square
#A28CD9 #D98C9C #C3D98C #8CD9C9
split-complementary
#A28CD9 #D9C98C #9CD98C
monochromatic
#5C3AB0 #7D5ECA #A28CD9 #C7BAE8 #ECE8F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A28CD9#FFFFFF#000000##000000
##A28CD91.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)
#7899DC
Deuteranopia (green-blind)
#7C97D7
Tritanopia (blue-blind)
#9799A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a28cd9;
/* rgb */ color: rgb(162, 140, 217);
/* oklch */ color: oklch(69.0% 0.113 296.5);
Tailwind
colors: {
  custom: {
    50: '#bfade5',
    500: '#a28cd9',
    950: '#000000',
  },
}
SCSS
$custom: #a28cd9;
$custom-light: #bfade5;
$custom-dark: #000000;
JSON
{
  "hex": "#a28cd9",
  "rgb": {
    "r": 162,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 257.143,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.68961,
    "c": 0.11302,
    "h": 296.5
  },
  "luminance": 0.31447
}

Semantic roles & 50–950 ramp

primary
#A28CD9
secondary
#E5EBD6
accent
#BE2893
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121015
muted
#817F84

Preview Lab

Preview with #A28CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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