#A28BEF#A28BEF

#A28BEF is a light, vivid violet. Relative luminance 0.324; OKLCH L 69.9% C 0.144 H 292.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#A28BEF
RGBrgb(162, 139, 239)
HSLhsl(254, 76%, 74%)
HSVhsv(254, 42%, 94%)
CMYKcmyk(32.2%, 41.8%, 0%, 6.3%)
CIE-LABlab(63.65, 30.45, -47.40)
CIE-LCHlch(63.65, 56.33, 302.72°)
OKLaboklab(69.88% 0.0561 -0.133)
OKLCHoklch(69.88% 0.144 292.9)
XYZxyz(39.7089, 32.3779, 85.8021)
Luminance0.3238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28BEF #D8EF8B
analogous
#8BA6EF #A28BEF #D48BEF
triadic
#A28BEF #EFA28B #8BEFA2
tetradic
#A28BEF #EF8BA6 #D8EF8B #8BEFD4
square
#A28BEF #EF8BA6 #D8EF8B #8BEFD4
split-complementary
#A28BEF #EFD48B #A6EF8B
monochromatic
#4C1FE0 #7755E8 #A28BEF #CDC1F6 #E9E4FB

Accessibility & contrast

On white

2.81
#A28BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#A28BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A28BEF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28BEF#FFFFFF#000000##000000
##A28BEF1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF3
Deuteranopia (green-blind)
#6F98ED
Tritanopia (blue-blind)
#909DB2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a28bef;
/* rgb */ color: rgb(162, 139, 239);
/* oklch */ color: oklch(69.9% 0.144 292.9);
Tailwind
colors: {
  custom: {
    50: '#c0adf4',
    500: '#a28bef',
    950: '#000000',
  },
}
SCSS
$custom: #a28bef;
$custom-light: #c0adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a28bef",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 253.8,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69879,
    "c": 0.14432,
    "h": 292.9
  },
  "luminance": 0.32379
}

Semantic roles & 50–950 ramp

primary
#A28BEF
secondary
#EDF3D8
accent
#D80EA9
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A28BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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