#80308D#80308D

#80308D is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.2% C 0.162 H 321.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#80308D
RGBrgb(128, 48, 141)
HSLhsl(292, 49%, 37%)
HSVhsv(292, 66%, 55%)
CMYKcmyk(9.2%, 66%, 0%, 44.7%)
CIE-LABlab(35.26, 47.86, -35.84)
CIE-LCHlch(35.26, 59.79, 323.17°)
OKLaboklab(46.25% 0.127 -0.0999)
OKLCHoklch(46.25% 0.162 321.8)
XYZxyz(14.7662, 8.6270, 26.0815)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80308D #3D8D30
analogous
#52308D #80308D #8D306C
triadic
#80308D #8D8030 #308D80
tetradic
#80308D #8D5230 #3D8D30 #306C8D
square
#80308D #8D5230 #3D8D30 #306C8D
split-complementary
#80308D #6C8D30 #308D52
monochromatic
#2D1132 #57205F #80308D #A940BB #BF6BCD

Accessibility & contrast

On white

7.71
#80308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#80308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80308D
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80308D#FFFFFF#000000##FFFFFF
##80308D1.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D90
Deuteranopia (green-blind)
#3B568B
Tritanopia (blue-blind)
#813F5A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #80308d;
/* rgb */ color: rgb(128, 48, 141);
/* oklch */ color: oklch(46.2% 0.162 321.8);
Tailwind
colors: {
  custom: {
    50: '#a86eaf',
    500: '#80308d',
    950: '#000000',
  },
}
SCSS
$custom: #80308d;
$custom-light: #a86eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#80308d",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 291.613,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46246,
    "c": 0.16153,
    "h": 321.8
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#80308D
secondary
#70B465
accent
#D94F62
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #80308D

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

Preview Lab → · Contrast checker → · Palette generator →

#80308D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva