#80308E#80308E

#80308E is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.3% C 0.162 H 321.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#80308E
RGBrgb(128, 48, 142)
HSLhsl(291, 49%, 37%)
HSVhsv(291, 66%, 56%)
CMYKcmyk(9.9%, 66.2%, 0%, 44.3%)
CIE-LABlab(35.31, 48.06, -36.36)
CIE-LCHlch(35.31, 60.26, 322.89°)
OKLaboklab(46.31% 0.127 -0.1014)
OKLCHoklch(46.31% 0.162 321.4)
XYZxyz(14.8410, 8.6568, 26.4752)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80308E #3E8E30
analogous
#51308E #80308E #8E306D
triadic
#80308E #8E8030 #308E80
tetradic
#80308E #8E5130 #3E8E30 #306D8E
square
#80308E #8E5130 #3E8E30 #306D8E
split-complementary
#80308E #6D8E30 #308E51
monochromatic
#2E1133 #572160 #80308E #A93FBC #BF6BCD

Accessibility & contrast

On white

7.69
#80308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80308E
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80308E#FFFFFF#000000##FFFFFF
##80308E1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D91
Deuteranopia (green-blind)
#3B568C
Tritanopia (blue-blind)
#81405B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #80308e;
/* rgb */ color: rgb(128, 48, 142);
/* oklch */ color: oklch(46.3% 0.162 321.4);
Tailwind
colors: {
  custom: {
    50: '#a86eaf',
    500: '#80308e',
    950: '#000000',
  },
}
SCSS
$custom: #80308e;
$custom-light: #a86eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#80308e",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 291.064,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46308,
    "c": 0.16248,
    "h": 321.4
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

primary
#80308E
secondary
#71B465
accent
#D94F63
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #80308E

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

Preview Lab → · Contrast checker → · Palette generator →

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