#80279B#80279B

#80279B is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.186 H 317.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#80279B
RGBrgb(128, 39, 155)
HSLhsl(286, 60%, 38%)
HSVhsv(286, 75%, 61%)
CMYKcmyk(17.4%, 74.8%, 0%, 39.2%)
CIE-LABlab(34.82, 54.38, -45.09)
CIE-LCHlch(34.82, 70.64, 320.34°)
OKLaboklab(46.22% 0.1361 -0.1269)
OKLCHoklch(46.22% 0.186 317)
XYZxyz(15.5431, 8.4074, 31.8081)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80279B #429B27
analogous
#46279B #80279B #9B277C
triadic
#80279B #9B8027 #279B80
tetradic
#80279B #9B4627 #429B27 #277C9B
square
#80279B #9B4627 #429B27 #277C9B
split-complementary
#80279B #7C9B27 #279B46
monochromatic
#2F0E39 #581B6A #80279B #A833CC #BD64D8

Accessibility & contrast

On white

7.83
#80279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#80279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80279B
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80279B#FFFFFF#000000##FFFFFF
##80279B1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#295498
Tritanopia (blue-blind)
#7F3F5F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #80279b;
/* rgb */ color: rgb(128, 39, 155);
/* oklch */ color: oklch(46.2% 0.186 317.0);
Tailwind
colors: {
  custom: {
    50: '#a96bb9',
    500: '#80279b',
    950: '#000000',
  },
}
SCSS
$custom: #80279b;
$custom-light: #a96bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#80279b",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 286.034,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46216,
    "c": 0.18604,
    "h": 317
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#80279B
secondary
#76BE60
accent
#E3456A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #80279B

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

Preview Lab → · Contrast checker → · Palette generator →

#80279B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva