#8028B3#8028B3

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

Color values

HEX#8028B3
RGBrgb(128, 40, 179)
HSLhsl(278, 63%, 43%)
HSVhsv(278, 78%, 70%)
CMYKcmyk(28.5%, 77.7%, 0%, 29.8%)
CIE-LABlab(36.67, 59.01, -56.50)
CIE-LCHlch(36.67, 81.69, 316.25°)
OKLaboklab(48.07% 0.1311 -0.1604)
OKLCHoklch(48.07% 0.207 309.3)
XYZxyz(17.7959, 9.3618, 43.5086)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8028B3 #5BB328
analogous
#3B28B3 #8028B3 #B328A0
triadic
#8028B3 #B38028 #28B380
tetradic
#8028B3 #B33B28 #5BB328 #28A0B3
square
#8028B3 #B33B28 #5BB328 #28A0B3
split-complementary
#8028B3 #A0B328 #28B33B
monochromatic
#38124F #5C1D81 #8028B3 #A043D5 #B975E0

Accessibility & contrast

On white

7.31
#8028B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8028B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8028B3
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8028B3#FFFFFF#000000##FFFFFF
##8028B31.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#784A6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8028b3;
/* rgb */ color: rgb(128, 40, 179);
/* oklch */ color: oklch(48.1% 0.207 309.3);
Tailwind
colors: {
  custom: {
    50: '#aa6ccb',
    500: '#8028b3',
    950: '#000000',
  },
}
SCSS
$custom: #8028b3;
$custom-light: #aa6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8028b3",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 277.986,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4807,
    "c": 0.20716,
    "h": 309.3
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#8028B3
secondary
#90C86F
accent
#E6417E
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8028B3

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

Preview Lab → · Contrast checker → · Palette generator →

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