#80338A#80338A

#80338A is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.4% C 0.154 H 322.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#80338A
RGBrgb(128, 51, 138)
HSLhsl(293, 46%, 37%)
HSVhsv(293, 63%, 54%)
CMYKcmyk(7.2%, 63%, 0%, 45.9%)
CIE-LABlab(35.58, 45.89, -33.48)
CIE-LCHlch(35.58, 56.80, 323.89°)
OKLaboklab(46.43% 0.1231 -0.093)
OKLCHoklch(46.43% 0.154 322.9)
XYZxyz(14.6729, 8.7926, 24.9641)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80338A #3D8A33
analogous
#54338A #80338A #8A3369
triadic
#80338A #8A8033 #338A80
tetradic
#80338A #8A5433 #3D8A33 #33698A
square
#80338A #8A5433 #3D8A33 #33698A
split-complementary
#80338A #698A33 #338A54
monochromatic
#2D1231 #57225D #80338A #A944B7 #BF6EC9

Accessibility & contrast

On white

7.61
#80338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#80338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80338A
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80338A#FFFFFF#000000##FFFFFF
##80338A1.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)
#224E8D
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#82405A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #80338a;
/* rgb */ color: rgb(128, 51, 138);
/* oklch */ color: oklch(46.4% 0.154 322.9);
Tailwind
colors: {
  custom: {
    50: '#a770ac',
    500: '#80338a',
    950: '#000000',
  },
}
SCSS
$custom: #80338a;
$custom-light: #a770ac;
$custom-dark: #000000;
JSON
{
  "hex": "#80338a",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 293.103,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46426,
    "c": 0.1543,
    "h": 322.9
  },
  "luminance": 0.08792
}

Semantic roles & 50–950 ramp

primary
#80338A
secondary
#70B167
accent
#D65261
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #80338A

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

Preview Lab → · Contrast checker → · Palette generator →

#80338A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva