#80307C#80307C

#80307C is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.3% C 0.146 H 329.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#80307C
RGBrgb(128, 48, 124)
HSLhsl(303, 45%, 35%)
HSVhsv(303, 63%, 50%)
CMYKcmyk(0%, 62.5%, 3.1%, 49.8%)
CIE-LABlab(34.31, 44.64, -26.80)
CIE-LCHlch(34.31, 52.06, 329.02°)
OKLaboklab(45.26% 0.126 -0.0737)
OKLCHoklch(45.26% 0.146 329.7)
XYZxyz(13.5970, 8.1593, 19.9236)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80307C #308034
analogous
#5C3080 #80307C #803054
triadic
#80307C #7C8030 #307C80
tetradic
#80307C #805C30 #308034 #305480
square
#80307C #805C30 #308034 #305480
split-complementary
#80307C #548030 #30805C
monochromatic
#270F26 #531F51 #80307C #AD41A7 #C565C0

Accessibility & contrast

On white

7.98
#80307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#80307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80307C
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80307C#FFFFFF#000000##FFFFFF
##80307C1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7E
Deuteranopia (green-blind)
#45557A
Tritanopia (blue-blind)
#853951
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #80307c;
/* rgb */ color: rgb(128, 48, 124);
/* oklch */ color: oklch(45.3% 0.146 329.7);
Tailwind
colors: {
  custom: {
    50: '#a76ea2',
    500: '#80307c',
    950: '#000000',
  },
}
SCSS
$custom: #80307c;
$custom-light: #a76ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#80307c",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 303,
    "s": 45.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45256,
    "c": 0.14592,
    "h": 329.7
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#80307C
secondary
#5FAC63
accent
#D55953
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #80307C

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

Preview Lab → · Contrast checker → · Palette generator →

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