#8026A7#8026A7

#8026A7 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.198 H 313.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8026A7
RGBrgb(128, 38, 167)
HSLhsl(282, 63%, 40%)
HSVhsv(282, 77%, 65%)
CMYKcmyk(23.4%, 77.2%, 0%, 34.5%)
CIE-LABlab(35.53, 57.20, -51.19)
CIE-LCHlch(35.53, 76.76, 318.18°)
OKLaboklab(46.99% 0.1352 -0.1447)
OKLCHoklch(46.99% 0.198 313.1)
XYZxyz(16.5690, 8.7660, 37.3709)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8026A7 #4DA726
analogous
#3F26A7 #8026A7 #A7268E
triadic
#8026A7 #A78026 #26A780
tetradic
#8026A7 #A73F26 #4DA726 #268EA7
square
#8026A7 #A73F26 #4DA726 #268EA7
split-complementary
#8026A7 #8EA726 #26A73F
monochromatic
#340F43 #5A1B75 #8026A7 #A338D2 #BA6ADD

Accessibility & contrast

On white

7.63
#8026A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8026A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8026A7
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8026A7#FFFFFF#000000##FFFFFF
##8026A71.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#1655A4
Tritanopia (blue-blind)
#7C4466
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8026a7;
/* rgb */ color: rgb(128, 38, 167);
/* oklch */ color: oklch(47.0% 0.198 313.1);
Tailwind
colors: {
  custom: {
    50: '#a96bc2',
    500: '#8026a7',
    950: '#000000',
  },
}
SCSS
$custom: #8026a7;
$custom-light: #a96bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8026a7",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 281.86,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46987,
    "c": 0.19809,
    "h": 313.1
  },
  "luminance": 0.08765
}

Semantic roles & 50–950 ramp

primary
#8026A7
secondary
#82C365
accent
#E64273
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8026A7

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

Preview Lab → · Contrast checker → · Palette generator →

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