#80338C#80338C

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

Color values

HEX#80338C
RGBrgb(128, 51, 140)
HSLhsl(292, 47%, 37%)
HSVhsv(292, 64%, 55%)
CMYKcmyk(8.6%, 63.6%, 0%, 45.1%)
CIE-LABlab(35.70, 46.28, -34.52)
CIE-LCHlch(35.70, 57.74, 323.28°)
OKLaboklab(46.55% 0.1232 -0.0961)
OKLCHoklch(46.55% 0.156 322.1)
XYZxyz(14.8190, 8.8511, 25.7337)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80338C #3F8C33
analogous
#53338C #80338C #8C336C
triadic
#80338C #8C8033 #338C80
tetradic
#80338C #8C5333 #3F8C33 #336C8C
square
#80338C #8C5333 #3F8C33 #336C8C
split-complementary
#80338C #6C8C33 #338C53
monochromatic
#2E1232 #57235F #80338C #A943B9 #BE6FCB

Accessibility & contrast

On white

7.58
#80338C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#80338C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80338C
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80338C#FFFFFF#000000##FFFFFF
##80338C1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8F
Deuteranopia (green-blind)
#3E578A
Tritanopia (blue-blind)
#82415B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #80338c;
/* rgb */ color: rgb(128, 51, 140);
/* oklch */ color: oklch(46.5% 0.156 322.1);
Tailwind
colors: {
  custom: {
    50: '#a770ae',
    500: '#80338c',
    950: '#000000',
  },
}
SCSS
$custom: #80338c;
$custom-light: #a770ae;
$custom-dark: #000000;
JSON
{
  "hex": "#80338c",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 291.91,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46546,
    "c": 0.15622,
    "h": 322.1
  },
  "luminance": 0.0885
}

Semantic roles & 50–950 ramp

primary
#80338C
secondary
#72B268
accent
#D65263
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #80338C

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

Preview Lab → · Contrast checker → · Palette generator →

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