#8028B0#8028B0

#8028B0 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.204 H 310.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8028B0
RGBrgb(128, 40, 176)
HSLhsl(279, 63%, 42%)
HSVhsv(279, 77%, 69%)
CMYKcmyk(27.3%, 77.3%, 0%, 31%)
CIE-LABlab(36.45, 58.37, -55.08)
CIE-LCHlch(36.45, 80.25, 316.66°)
OKLaboklab(47.84% 0.1318 -0.1562)
OKLCHoklch(47.84% 0.204 310.1)
XYZxyz(17.4958, 9.2418, 41.9281)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8028B0 #58B028
analogous
#3C28B0 #8028B0 #B0289C
triadic
#8028B0 #B08028 #28B080
tetradic
#8028B0 #B03C28 #58B028 #289CB0
square
#8028B0 #B03C28 #58B028 #289CB0
split-complementary
#8028B0 #9CB028 #28B03C
monochromatic
#37114C #5C1D7E #8028B0 #A041D4 #B973DF

Accessibility & contrast

On white

7.37
#8028B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8028B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8028B0
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8028B0#FFFFFF#000000##FFFFFF
##8028B01.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#79496B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8028b0;
/* rgb */ color: rgb(128, 40, 176);
/* oklch */ color: oklch(47.8% 0.204 310.1);
Tailwind
colors: {
  custom: {
    50: '#aa6cc8',
    500: '#8028b0',
    950: '#000000',
  },
}
SCSS
$custom: #8028b0;
$custom-light: #aa6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8028b0",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 278.824,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4784,
    "c": 0.20436,
    "h": 310.1
  },
  "luminance": 0.09241
}

Semantic roles & 50–950 ramp

primary
#8028B0
secondary
#8DC66D
accent
#E6427C
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8028B0

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

Preview Lab → · Contrast checker → · Palette generator →

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