#A28FDF#A28FDF

#A28FDF is a light, moderate violet. Relative luminance 0.327; OKLCH L 69.8% C 0.116 H 294.1°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#A28FDF
RGBrgb(162, 143, 223)
HSLhsl(254, 56%, 72%)
HSVhsv(254, 36%, 87%)
CMYKcmyk(27.4%, 35.9%, 0%, 12.5%)
CIE-LABlab(63.88, 24.16, -38.19)
CIE-LCHlch(63.88, 45.19, 302.32°)
OKLaboklab(69.81% 0.0475 -0.1063)
OKLCHoklch(69.81% 0.116 294.1)
XYZxyz(38.0388, 32.6535, 74.0964)
Luminance0.3265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FDF #CCDF8F
analogous
#8FA4DF #A28FDF #CA8FDF
triadic
#A28FDF #DFA28F #8FDFA2
tetradic
#A28FDF #DF8FA4 #CCDF8F #8FDFCA
square
#A28FDF #DF8FA4 #CCDF8F #8FDFCA
split-complementary
#A28FDF #DFCA8F #A4DF8F
monochromatic
#5636BD #7A5FD1 #A28FDF #CABFED #EBE7F8

Accessibility & contrast

On white

2.79
#A28FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#A28FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FDF
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FDF#FFFFFF#000000##000000
##A28FDF1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9CE2
Deuteranopia (green-blind)
#7C9ADD
Tritanopia (blue-blind)
#959DAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a28fdf;
/* rgb */ color: rgb(162, 143, 223);
/* oklch */ color: oklch(69.8% 0.116 294.1);
Tailwind
colors: {
  custom: {
    50: '#bfb0e9',
    500: '#a28fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a28fdf;
$custom-light: #bfb0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a28fdf",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 223
  },
  "hsl": {
    "h": 254.25,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69808,
    "c": 0.11646,
    "h": 294.1
  },
  "luminance": 0.32654
}

Semantic roles & 50–950 ramp

primary
#A28FDF
secondary
#EAEFDB
accent
#C3229D
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A28FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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