#80338B#80338B

#80338B is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.5% C 0.155 H 322.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#80338B
RGBrgb(128, 51, 139)
HSLhsl(293, 46%, 37%)
HSVhsv(293, 63%, 55%)
CMYKcmyk(7.9%, 63.3%, 0%, 45.5%)
CIE-LABlab(35.64, 46.08, -34.00)
CIE-LCHlch(35.64, 57.27, 323.58°)
OKLaboklab(46.49% 0.1232 -0.0945)
OKLCHoklch(46.49% 0.155 322.5)
XYZxyz(14.7456, 8.8217, 25.3471)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80338B #3E8B33
analogous
#54338B #80338B #8B336A
triadic
#80338B #8B8033 #338B80
tetradic
#80338B #8B5433 #3E8B33 #336A8B
square
#80338B #8B5433 #3E8B33 #336A8B
split-complementary
#80338B #6A8B33 #338B54
monochromatic
#2E1231 #57235E #80338B #A943B8 #BF6ECA

Accessibility & contrast

On white

7.60
#80338B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80338B
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80338B#FFFFFF#000000##FFFFFF
##80338B1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#3E5789
Tritanopia (blue-blind)
#82405A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #80338b;
/* rgb */ color: rgb(128, 51, 139);
/* oklch */ color: oklch(46.5% 0.155 322.5);
Tailwind
colors: {
  custom: {
    50: '#a770ad',
    500: '#80338b',
    950: '#000000',
  },
}
SCSS
$custom: #80338b;
$custom-light: #a770ad;
$custom-dark: #000000;
JSON
{
  "hex": "#80338b",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 292.5,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46486,
    "c": 0.15527,
    "h": 322.5
  },
  "luminance": 0.08821
}

Semantic roles & 50–950 ramp

primary
#80338B
secondary
#71B268
accent
#D65262
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #80338B

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

Preview Lab → · Contrast checker → · Palette generator →

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