#A28FF6#A28FF6

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

Color values

HEX#A28FF6
RGBrgb(162, 143, 246)
HSLhsl(251, 85%, 76%)
HSVhsv(251, 42%, 96%)
CMYKcmyk(34.1%, 41.9%, 0%, 3.5%)
CIE-LABlab(64.95, 29.97, -49.21)
CIE-LCHlch(64.95, 57.61, 301.34°)
OKLaboklab(70.97% 0.052 -0.1383)
OKLCHoklch(70.97% 0.148 290.6)
XYZxyz(41.3529, 33.9791, 91.5508)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FF6 #E3F68F
analogous
#8FB0F6 #A28FF6 #D68FF6
triadic
#A28FF6 #F6A28F #8FF6A2
tetradic
#A28FF6 #F68FB0 #E3F68F #8FF6D6
square
#A28FF6 #F68FB0 #E3F68F #8FF6D6
split-complementary
#A28FF6 #F6D68F #B0F68F
monochromatic
#441EED #7356F1 #A28FF6 #D1C8FB #E7E3FD

Accessibility & contrast

On white

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

On black

7.80
#A28FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FF6
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FF6#FFFFFF#000000##000000
##A28FF61.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9FFA
Deuteranopia (green-blind)
#6F9BF3
Tritanopia (blue-blind)
#8DA2B7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a28ff6;
/* rgb */ color: rgb(162, 143, 246);
/* oklch */ color: oklch(71.0% 0.148 290.6);
Tailwind
colors: {
  custom: {
    50: '#c0b0f9',
    500: '#a28ff6',
    950: '#000000',
  },
}
SCSS
$custom: #a28ff6;
$custom-light: #c0b0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a28ff6",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 246
  },
  "hsl": {
    "h": 251.068,
    "s": 85.124,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70969,
    "c": 0.14771,
    "h": 290.6
  },
  "luminance": 0.3398
}

Semantic roles & 50–950 ramp

primary
#A28FF6
secondary
#EFF5D6
accent
#E204B9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #A28FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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