#80348E#80348E

#80348E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.8% C 0.157 H 321.1°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#80348E
RGBrgb(128, 52, 142)
HSLhsl(291, 46%, 38%)
HSVhsv(291, 63%, 56%)
CMYKcmyk(9.9%, 63.4%, 0%, 44.3%)
CIE-LABlab(35.98, 46.21, -35.30)
CIE-LCHlch(35.98, 58.15, 322.63°)
OKLaboklab(46.79% 0.122 -0.0983)
OKLCHoklch(46.79% 0.157 321.1)
XYZxyz(15.0120, 8.9989, 26.5322)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80348E #428E34
analogous
#53348E #80348E #8E346F
triadic
#80348E #8E8034 #348E80
tetradic
#80348E #8E5334 #428E34 #346F8E
square
#80348E #8E5334 #428E34 #346F8E
split-complementary
#80348E #6F8E34 #348E53
monochromatic
#2F1334 #582461 #80348E #A844BB #BD71CB

Accessibility & contrast

On white

7.50
#80348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#80348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80348E
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80348E#FFFFFF#000000##FFFFFF
##80348E1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#3D578C
Tritanopia (blue-blind)
#81425C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #80348e;
/* rgb */ color: rgb(128, 52, 142);
/* oklch */ color: oklch(46.8% 0.157 321.1);
Tailwind
colors: {
  custom: {
    50: '#a771af',
    500: '#80348e',
    950: '#000000',
  },
}
SCSS
$custom: #80348e;
$custom-light: #a771af;
$custom-dark: #000000;
JSON
{
  "hex": "#80348e",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 290.667,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46791,
    "c": 0.15668,
    "h": 321.1
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#80348E
secondary
#76B36A
accent
#D65266
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #80348E

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

Preview Lab → · Contrast checker → · Palette generator →

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