#8028C5#8028C5

#8028C5 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.5% C 0.224 H 304.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8028C5
RGBrgb(128, 40, 197)
HSLhsl(274, 66%, 46%)
HSVhsv(274, 80%, 77%)
CMYKcmyk(35%, 79.7%, 0%, 22.7%)
CIE-LABlab(38.09, 62.94, -64.79)
CIE-LCHlch(38.09, 90.33, 314.17°)
OKLaboklab(49.5% 0.1267 -0.1847)
OKLCHoklch(49.5% 0.224 304.5)
XYZxyz(19.7366, 10.1381, 53.7296)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8028C5 #6DC528
analogous
#3228C5 #8028C5 #C528BC
triadic
#8028C5 #C58028 #28C580
tetradic
#8028C5 #C53228 #6DC528 #28BCC5
square
#8028C5 #C53228 #6DC528 #28BCC5
split-complementary
#8028C5 #BCC528 #28C532
monochromatic
#3E135F #5F1E92 #8028C5 #9E4FDB #BA82E6

Accessibility & contrast

On white

6.94
#8028C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8028C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8028C5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8028C5#FFFFFF#000000##FFFFFF
##8028C51.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#725277
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8028c5;
/* rgb */ color: rgb(128, 40, 197);
/* oklch */ color: oklch(49.5% 0.224 304.5);
Tailwind
colors: {
  custom: {
    50: '#ab6dd8',
    500: '#8028c5',
    950: '#000000',
  },
}
SCSS
$custom: #8028c5;
$custom-light: #ab6dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8028c5",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 197
  },
  "hsl": {
    "h": 273.631,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49503,
    "c": 0.22402,
    "h": 304.5
  },
  "luminance": 0.10138
}

Semantic roles & 50–950 ramp

primary
#8028C5
secondary
#9FCE7A
accent
#E93F8A
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110815
muted
#807A83

Preview Lab

Preview with #8028C5

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

Preview Lab → · Contrast checker → · Palette generator →

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