#A028EB#A028EB

#A028EB is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 56.6% C 0.265 H 307.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A028EB
RGBrgb(160, 40, 235)
HSLhsl(277, 83%, 54%)
HSVhsv(277, 83%, 92%)
CMYKcmyk(31.9%, 83%, 0%, 7.8%)
CIE-LABlab(45.62, 75.76, -74.14)
CIE-LCHlch(45.62, 106.00, 315.62°)
OKLaboklab(56.61% 0.1598 -0.2111)
OKLCHoklch(56.61% 0.265 307.1)
XYZxyz(30.2481, 14.9897, 79.8810)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A028EB #73EB28
analogous
#3F28EB #A028EB #EB28D5
triadic
#A028EB #EBA028 #28EBA0
tetradic
#A028EB #EB3F28 #73EB28 #28D5EB
square
#A028EB #EB3F28 #73EB28 #28D5EB
split-complementary
#A028EB #D5EB28 #28EB3F
monochromatic
#5B0D8C #7F12C4 #A028EB #B960F0 #D198F5

Accessibility & contrast

On white

5.25
#A028EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A028EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A028EB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A028EB#FFFFFF#000000##FFFFFF
##A028EB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068F0
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#935F8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a028eb;
/* rgb */ color: rgb(160, 40, 235);
/* oklch */ color: oklch(56.6% 0.265 307.1);
Tailwind
colors: {
  custom: {
    50: '#c373f3',
    500: '#a028eb',
    950: '#000000',
  },
}
SCSS
$custom: #a028eb;
$custom-light: #c373f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a028eb",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 235
  },
  "hsl": {
    "h": 276.923,
    "s": 82.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56608,
    "c": 0.2648,
    "h": 307.1
  },
  "luminance": 0.14989
}

Semantic roles & 50–950 ramp

primary
#A028EB
secondary
#AEE18E
accent
#F92E7C
background
#FCF7FF
surface
#F9EDFE
border
#D2C8D6
text
#140917
muted
#827B85

Preview Lab

Preview with #A028EB

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

Preview Lab → · Contrast checker → · Palette generator →

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