#8028AE#8028AE

#8028AE is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.202 H 310.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8028AE
RGBrgb(128, 40, 174)
HSLhsl(279, 63%, 42%)
HSVhsv(279, 77%, 68%)
CMYKcmyk(26.4%, 77%, 0%, 31.8%)
CIE-LABlab(36.30, 57.94, -54.13)
CIE-LCHlch(36.30, 79.29, 316.95°)
OKLaboklab(47.69% 0.1322 -0.1534)
OKLCHoklch(47.69% 0.202 310.7)
XYZxyz(17.2994, 9.1632, 40.8936)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8028AE #56AE28
analogous
#3D28AE #8028AE #AE2899
triadic
#8028AE #AE8028 #28AE80
tetradic
#8028AE #AE3D28 #56AE28 #2899AE
square
#8028AE #AE3D28 #56AE28 #2899AE
split-complementary
#8028AE #99AE28 #28AE3D
monochromatic
#37114A #5B1D7C #8028AE #A140D3 #B972DF

Accessibility & contrast

On white

7.41
#8028AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8028AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8028AE
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8028AE#FFFFFF#000000##FFFFFF
##8028AE1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0357AB
Tritanopia (blue-blind)
#7A486A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8028ae;
/* rgb */ color: rgb(128, 40, 174);
/* oklch */ color: oklch(47.7% 0.202 310.7);
Tailwind
colors: {
  custom: {
    50: '#aa6cc7',
    500: '#8028ae',
    950: '#000000',
  },
}
SCSS
$custom: #8028ae;
$custom-light: #aa6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8028ae",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 279.403,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47688,
    "c": 0.20249,
    "h": 310.7
  },
  "luminance": 0.09163
}

Semantic roles & 50–950 ramp

primary
#8028AE
secondary
#8BC66C
accent
#E6427A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8028AE

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

Preview Lab → · Contrast checker → · Palette generator →

#8028AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva