#8028B4#8028B4

#8028B4 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.208 H 309.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8028B4
RGBrgb(128, 40, 180)
HSLhsl(278, 64%, 43%)
HSVhsv(278, 78%, 71%)
CMYKcmyk(28.9%, 77.8%, 0%, 29.4%)
CIE-LABlab(36.75, 59.22, -56.97)
CIE-LCHlch(36.75, 82.18, 316.11°)
OKLaboklab(48.15% 0.1309 -0.1617)
OKLCHoklch(48.15% 0.208 309)
XYZxyz(17.8974, 9.4024, 44.0432)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8028B4 #5CB428
analogous
#3A28B4 #8028B4 #B428A2
triadic
#8028B4 #B48028 #28B480
tetradic
#8028B4 #B43A28 #5CB428 #28A2B4
square
#8028B4 #B43A28 #5CB428 #28A2B4
split-complementary
#8028B4 #A2B428 #28B43A
monochromatic
#391250 #5C1D82 #8028B4 #9F44D5 #B976E1

Accessibility & contrast

On white

7.29
#8028B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8028B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8028B4
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8028B4#FFFFFF#000000##FFFFFF
##8028B41.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#784B6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8028b4;
/* rgb */ color: rgb(128, 40, 180);
/* oklch */ color: oklch(48.1% 0.208 309.0);
Tailwind
colors: {
  custom: {
    50: '#aa6ccb',
    500: '#8028b4',
    950: '#000000',
  },
}
SCSS
$custom: #8028b4;
$custom-light: #aa6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8028b4",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 180
  },
  "hsl": {
    "h": 277.714,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48147,
    "c": 0.20809,
    "h": 309
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#8028B4
secondary
#91C870
accent
#E7417F
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8028B4

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

Preview Lab → · Contrast checker → · Palette generator →

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