#8028B1#8028B1

#8028B1 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.205 H 309.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8028B1
RGBrgb(128, 40, 177)
HSLhsl(279, 63%, 43%)
HSVhsv(279, 77%, 69%)
CMYKcmyk(27.7%, 77.4%, 0%, 30.6%)
CIE-LABlab(36.52, 58.58, -55.55)
CIE-LCHlch(36.52, 80.73, 316.52°)
OKLaboklab(47.92% 0.1316 -0.1576)
OKLCHoklch(47.92% 0.205 309.9)
XYZxyz(17.5951, 9.2815, 42.4511)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8028B1 #59B128
analogous
#3B28B1 #8028B1 #B1289E
triadic
#8028B1 #B18028 #28B180
tetradic
#8028B1 #B13B28 #59B128 #289EB1
square
#8028B1 #B13B28 #59B128 #289EB1
split-complementary
#8028B1 #9EB128 #28B13B
monochromatic
#38114D #5C1D7F #8028B1 #A042D4 #B974E0

Accessibility & contrast

On white

7.35
#8028B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8028B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8028B1
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8028B1#FFFFFF#000000##FFFFFF
##8028B11.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#794A6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8028b1;
/* rgb */ color: rgb(128, 40, 177);
/* oklch */ color: oklch(47.9% 0.205 309.9);
Tailwind
colors: {
  custom: {
    50: '#aa6cc9',
    500: '#8028b1',
    950: '#000000',
  },
}
SCSS
$custom: #8028b1;
$custom-light: #aa6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8028b1",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 278.54,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47917,
    "c": 0.20529,
    "h": 309.9
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#8028B1
secondary
#8EC76E
accent
#E6427C
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8028B1

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

Preview Lab → · Contrast checker → · Palette generator →

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