#8026A4#8026A4

#8026A4 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.195 H 314.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8026A4
RGBrgb(128, 38, 164)
HSLhsl(283, 62%, 40%)
HSVhsv(283, 77%, 64%)
CMYKcmyk(22%, 76.8%, 0%, 35.7%)
CIE-LABlab(35.31, 56.58, -49.73)
CIE-LCHlch(35.31, 75.33, 318.69°)
OKLaboklab(46.77% 0.1357 -0.1405)
OKLCHoklch(46.77% 0.195 314)
XYZxyz(16.2949, 8.6563, 35.9272)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8026A4 #4AA426
analogous
#4126A4 #8026A4 #A42689
triadic
#8026A4 #A48026 #26A480
tetradic
#8026A4 #A44126 #4AA426 #2689A4
square
#8026A4 #A44126 #4AA426 #2689A4
split-complementary
#8026A4 #89A426 #26A441
monochromatic
#320F41 #591A72 #8026A4 #A537D1 #BB68DC

Accessibility & contrast

On white

7.69
#8026A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8026A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8026A4
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8026A4#FFFFFF#000000##FFFFFF
##8026A41.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#1C55A1
Tritanopia (blue-blind)
#7C4364
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8026a4;
/* rgb */ color: rgb(128, 38, 164);
/* oklch */ color: oklch(46.8% 0.195 314.0);
Tailwind
colors: {
  custom: {
    50: '#a96bc0',
    500: '#8026a4',
    950: '#000000',
  },
}
SCSS
$custom: #8026a4;
$custom-light: #a96bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8026a4",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 282.857,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46766,
    "c": 0.19534,
    "h": 314
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

primary
#8026A4
secondary
#7FC264
accent
#E54271
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8026A4

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

Preview Lab → · Contrast checker → · Palette generator →

#8026A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva