#8028AD#8028AD

#8028AD is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.202 H 311.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8028AD
RGBrgb(128, 40, 173)
HSLhsl(280, 62%, 42%)
HSVhsv(280, 77%, 68%)
CMYKcmyk(26%, 76.9%, 0%, 32.2%)
CIE-LABlab(36.22, 57.73, -53.66)
CIE-LCHlch(36.22, 78.81, 317.09°)
OKLaboklab(47.61% 0.1324 -0.152)
OKLCHoklch(47.61% 0.202 311)
XYZxyz(17.2023, 9.1243, 40.3820)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8028AD #55AD28
analogous
#3E28AD #8028AD #AD2898
triadic
#8028AD #AD8028 #28AD80
tetradic
#8028AD #AD3E28 #55AD28 #2898AD
square
#8028AD #AD3E28 #55AD28 #2898AD
split-complementary
#8028AD #98AD28 #28AD3E
monochromatic
#36114A #5B1D7B #8028AD #A13FD3 #B971DE

Accessibility & contrast

On white

7.43
#8028AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8028AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8028AD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8028AD#FFFFFF#000000##FFFFFF
##8028AD1.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0857AA
Tritanopia (blue-blind)
#7A4869
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8028ad;
/* rgb */ color: rgb(128, 40, 173);
/* oklch */ color: oklch(47.6% 0.202 311.0);
Tailwind
colors: {
  custom: {
    50: '#aa6cc6',
    500: '#8028ad',
    950: '#000000',
  },
}
SCSS
$custom: #8028ad;
$custom-light: #aa6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8028ad",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 279.699,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47613,
    "c": 0.20155,
    "h": 311
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8028AD

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

Preview Lab → · Contrast checker → · Palette generator →

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