#A28FF9#A28FF9

#A28FF9 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.1% C 0.152 H 290.2°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#A28FF9
RGBrgb(162, 143, 249)
HSLhsl(251, 90%, 77%)
HSVhsv(251, 43%, 98%)
CMYKcmyk(34.9%, 42.6%, 0%, 2.4%)
CIE-LABlab(65.09, 30.74, -50.62)
CIE-LCHlch(65.09, 59.22, 301.27°)
OKLaboklab(71.13% 0.0525 -0.1424)
OKLCHoklch(71.13% 0.152 290.2)
XYZxyz(41.8171, 34.1648, 93.9954)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28FF9 #E6F98F
analogous
#8FB1F9 #A28FF9 #D78FF9
triadic
#A28FF9 #F9A28F #8FF9A2
tetradic
#A28FF9 #F98FB1 #E6F98F #8FF9D7
square
#A28FF9 #F98FB1 #E6F98F #8FF9D7
split-complementary
#A28FF9 #F9D78F #B1F98F
monochromatic
#421BF3 #7255F6 #A28FF9 #D2C9FC #E7E2FD

Accessibility & contrast

On white

2.68
#A28FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#A28FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28FF9
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28FF9#FFFFFF#000000##000000
##A28FF91.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FD
Deuteranopia (green-blind)
#6D9CF6
Tritanopia (blue-blind)
#8CA3B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a28ff9;
/* rgb */ color: rgb(162, 143, 249);
/* oklch */ color: oklch(71.1% 0.152 290.2);
Tailwind
colors: {
  custom: {
    50: '#c1b0fc',
    500: '#a28ff9',
    950: '#000000',
  },
}
SCSS
$custom: #a28ff9;
$custom-light: #c1b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a28ff9",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 249
  },
  "hsl": {
    "h": 250.755,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.71128,
    "c": 0.15174,
    "h": 290.2
  },
  "luminance": 0.34166
}

Semantic roles & 50–950 ramp

primary
#A28FF9
secondary
#F0F6D5
accent
#E600BC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A28FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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