#A28DF7#A28DF7

#A28DF7 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.7% C 0.152 H 291.1°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#A28DF7
RGBrgb(162, 141, 247)
HSLhsl(252, 87%, 76%)
HSVhsv(252, 43%, 97%)
CMYKcmyk(34.4%, 42.9%, 0%, 3.1%)
CIE-LABlab(64.52, 31.36, -50.43)
CIE-LCHlch(64.52, 59.39, 301.88°)
OKLaboklab(70.66% 0.0547 -0.1418)
OKLCHoklch(70.66% 0.152 291.1)
XYZxyz(41.2093, 33.4456, 92.2621)
Luminance0.3345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28DF7 #E2F78D
analogous
#8DADF7 #A28DF7 #D78DF7
triadic
#A28DF7 #F7A28D #8DF7A2
tetradic
#A28DF7 #F78DAD #E2F78D #8DF7D7
square
#A28DF7 #F78DAD #E2F78D #8DF7D7
split-complementary
#A28DF7 #F7D78D #ADF78D
monochromatic
#451BEF #7354F3 #A28DF7 #D1C6FB #E8E2FD

Accessibility & contrast

On white

2.73
#A28DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#A28DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28DF7
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28DF7#FFFFFF#000000##000000
##A28DF71.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFB
Deuteranopia (green-blind)
#6C9AF4
Tritanopia (blue-blind)
#8DA1B6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a28df7;
/* rgb */ color: rgb(162, 141, 247);
/* oklch */ color: oklch(70.7% 0.152 291.1);
Tailwind
colors: {
  custom: {
    50: '#c0aefa',
    500: '#a28df7',
    950: '#000000',
  },
}
SCSS
$custom: #a28df7;
$custom-light: #c0aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#a28df7",
  "rgb": {
    "r": 162,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 251.887,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70662,
    "c": 0.15201,
    "h": 291.1
  },
  "luminance": 0.33447
}

Semantic roles & 50–950 ramp

primary
#A28DF7
secondary
#EFF5D6
accent
#E302B7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A28DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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