#A28FCA#A28FCA

#A28FCA is a light, moderate violet. Relative luminance 0.316; OKLCH L 68.8% C 0.088 H 298.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#A28FCA
RGBrgb(162, 143, 202)
HSLhsl(259, 36%, 68%)
HSVhsv(259, 29%, 79%)
CMYKcmyk(19.8%, 29.2%, 0%, 20.8%)
CIE-LABlab(63.00, 19.15, -27.85)
CIE-LCHlch(63.00, 33.80, 304.51°)
OKLaboklab(68.85% 0.0423 -0.0767)
OKLCHoklch(68.85% 0.088 298.9)
XYZxyz(35.3811, 31.5904, 60.0992)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FCA #B7CA8F
analogous
#8F99CA #A28FCA #C08FCA
triadic
#A28FCA #CAA28F #8FCAA2
tetradic
#A28FCA #CA8F99 #B7CA8F #8FCAC0
square
#A28FCA #CA8F99 #B7CA8F #8FCAC0
split-complementary
#A28FCA #CAC08F #99CA8F
monochromatic
#614897 #8065B6 #A28FCA #C4B9DE #E7E2F1

Accessibility & contrast

On white

2.87
#A28FCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#A28FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FCA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FCA#FFFFFF#000000##000000
##A28FCA1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8298CC
Deuteranopia (green-blind)
#8598C8
Tritanopia (blue-blind)
#9B98A4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a28fca;
/* rgb */ color: rgb(162, 143, 202);
/* oklch */ color: oklch(68.8% 0.088 298.9);
Tailwind
colors: {
  custom: {
    50: '#beafda',
    500: '#a28fca',
    950: '#000000',
  },
}
SCSS
$custom: #a28fca;
$custom-light: #beafda;
$custom-dark: #000000;
JSON
{
  "hex": "#a28fca",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 202
  },
  "hsl": {
    "h": 259.322,
    "s": 35.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68848,
    "c": 0.08755,
    "h": 298.9
  },
  "luminance": 0.31591
}

Semantic roles & 50–950 ramp

primary
#A28FCA
secondary
#DEE4D1
accent
#AF3788
background
#FBFAFD
surface
#F7F4FA
border
#D0CED3
text
#121015
muted
#817F83

Preview Lab

Preview with #A28FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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