#8026A8#8026A8

#8026A8 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.199 H 312.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8026A8
RGBrgb(128, 38, 168)
HSLhsl(282, 63%, 40%)
HSVhsv(282, 77%, 66%)
CMYKcmyk(23.8%, 77.4%, 0%, 34.1%)
CIE-LABlab(35.60, 57.41, -51.67)
CIE-LCHlch(35.60, 77.24, 318.01°)
OKLaboklab(47.06% 0.1351 -0.1462)
OKLCHoklch(47.06% 0.199 312.7)
XYZxyz(16.6618, 8.8031, 37.8597)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8026A8 #4EA826
analogous
#3F26A8 #8026A8 #A8268F
triadic
#8026A8 #A88026 #26A880
tetradic
#8026A8 #A83F26 #4EA826 #268FA8
square
#8026A8 #A83F26 #4EA826 #268FA8
split-complementary
#8026A8 #8FA826 #26A83F
monochromatic
#340F44 #5A1B76 #8026A8 #A339D2 #BA6BDE

Accessibility & contrast

On white

7.61
#8026A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8026A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8026A8
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8026A8#FFFFFF#000000##FFFFFF
##8026A81.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#1356A5
Tritanopia (blue-blind)
#7B4566
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8026a8;
/* rgb */ color: rgb(128, 38, 168);
/* oklch */ color: oklch(47.1% 0.199 312.7);
Tailwind
colors: {
  custom: {
    50: '#a96bc3',
    500: '#8026a8',
    950: '#000000',
  },
}
SCSS
$custom: #8026a8;
$custom-light: #a96bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8026a8",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 281.538,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47061,
    "c": 0.199,
    "h": 312.7
  },
  "luminance": 0.08803
}

Semantic roles & 50–950 ramp

primary
#8026A8
secondary
#83C466
accent
#E64274
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8026A8

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

Preview Lab → · Contrast checker → · Palette generator →

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