#8028B6#8028B6

#8028B6 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.210 H 308.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8028B6
RGBrgb(128, 40, 182)
HSLhsl(277, 64%, 44%)
HSVhsv(277, 78%, 71%)
CMYKcmyk(29.7%, 78%, 0%, 28.6%)
CIE-LABlab(36.90, 59.66, -57.90)
CIE-LCHlch(36.90, 83.14, 315.85°)
OKLaboklab(48.3% 0.1305 -0.1645)
OKLCHoklch(48.3% 0.21 308.4)
XYZxyz(18.1026, 9.4845, 45.1239)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8028B6 #5EB628
analogous
#3928B6 #8028B6 #B628A5
triadic
#8028B6 #B68028 #28B680
tetradic
#8028B6 #B63928 #5EB628 #28A5B6
square
#8028B6 #B63928 #5EB628 #28A5B6
split-complementary
#8028B6 #A5B628 #28B639
monochromatic
#391252 #5D1D84 #8028B6 #9F45D6 #B977E1

Accessibility & contrast

On white

7.25
#8028B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8028B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8028B6
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8028B6#FFFFFF#000000##FFFFFF
##8028B61.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#774C6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8028b6;
/* rgb */ color: rgb(128, 40, 182);
/* oklch */ color: oklch(48.3% 0.210 308.4);
Tailwind
colors: {
  custom: {
    50: '#aa6ccd',
    500: '#8028b6',
    950: '#000000',
  },
}
SCSS
$custom: #8028b6;
$custom-light: #aa6ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#8028b6",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 277.183,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48303,
    "c": 0.20996,
    "h": 308.4
  },
  "luminance": 0.09484
}

Semantic roles & 50–950 ramp

primary
#8028B6
secondary
#92C971
accent
#E74180
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8028B6

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

Preview Lab → · Contrast checker → · Palette generator →

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