#80268E#80268E

#80268E is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.176 H 321.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#80268E
RGBrgb(128, 38, 142)
HSLhsl(292, 58%, 35%)
HSVhsv(292, 73%, 56%)
CMYKcmyk(9.9%, 73.2%, 0%, 44.3%)
CIE-LABlab(33.84, 52.22, -38.72)
CIE-LCHlch(33.84, 65.01, 323.44°)
OKLaboklab(45.25% 0.1382 -0.1082)
OKLCHoklch(45.25% 0.176 321.9)
XYZxyz(14.4772, 7.9292, 26.3539)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80268E #348E26
analogous
#4C268E #80268E #8E2668
triadic
#80268E #8E8026 #268E80
tetradic
#80268E #8E4C26 #348E26 #26688E
square
#80268E #8E4C26 #348E26 #26688E
split-complementary
#80268E #688E26 #268E4C
monochromatic
#290C2D #54195E #80268E #AC33BE #C35BD3

Accessibility & contrast

On white

8.12
#80268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#80268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80268E
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80268E#FFFFFF#000000##FFFFFF
##80268E1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#34538C
Tritanopia (blue-blind)
#813958
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #80268e;
/* rgb */ color: rgb(128, 38, 142);
/* oklch */ color: oklch(45.2% 0.176 321.9);
Tailwind
colors: {
  custom: {
    50: '#a86aaf',
    500: '#80268e',
    950: '#000000',
  },
}
SCSS
$custom: #80268e;
$custom-light: #a86aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#80268e",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 291.923,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.17552,
    "h": 321.9
  },
  "luminance": 0.07928
}

Semantic roles & 50–950 ramp

primary
#80268E
secondary
#65B858
accent
#E1475C
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80268E

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

Preview Lab → · Contrast checker → · Palette generator →

#80268E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva