#A28FF7#A28FF7

#A28FF7 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.0% C 0.149 H 290.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A28FF7
RGBrgb(162, 143, 247)
HSLhsl(251, 87%, 76%)
HSVhsv(251, 42%, 97%)
CMYKcmyk(34.4%, 42.1%, 0%, 3.1%)
CIE-LABlab(64.99, 30.23, -49.68)
CIE-LCHlch(64.99, 58.15, 301.32°)
OKLaboklab(71.02% 0.0522 -0.1396)
OKLCHoklch(71.02% 0.149 290.5)
XYZxyz(41.5068, 34.0407, 92.3613)
Luminance0.3404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FF7 #E4F78F
analogous
#8FB0F7 #A28FF7 #D68FF7
triadic
#A28FF7 #F7A28F #8FF7A2
tetradic
#A28FF7 #F78FB0 #E4F78F #8FF7D6
square
#A28FF7 #F78FB0 #E4F78F #8FF7D6
split-complementary
#A28FF7 #F7D68F #B0F78F
monochromatic
#431DEF #7356F3 #A28FF7 #D1C8FB #E7E2FD

Accessibility & contrast

On white

2.69
#A28FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A28FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FF7
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FF7#FFFFFF#000000##000000
##A28FF71.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FB
Deuteranopia (green-blind)
#6E9BF4
Tritanopia (blue-blind)
#8DA3B7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a28ff7;
/* rgb */ color: rgb(162, 143, 247);
/* oklch */ color: oklch(71.0% 0.149 290.5);
Tailwind
colors: {
  custom: {
    50: '#c0b0fa',
    500: '#a28ff7',
    950: '#000000',
  },
}
SCSS
$custom: #a28ff7;
$custom-light: #c0b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a28ff7",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 250.962,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71022,
    "c": 0.14905,
    "h": 290.5
  },
  "luminance": 0.34042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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