#80398B#80398B

#80398B is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.3% C 0.146 H 322.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#80398B
RGBrgb(128, 57, 139)
HSLhsl(292, 42%, 38%)
HSVhsv(292, 59%, 55%)
CMYKcmyk(7.9%, 59%, 0%, 45.5%)
CIE-LABlab(36.71, 43.17, -32.31)
CIE-LCHlch(36.71, 53.92, 323.19°)
OKLaboklab(47.26% 0.1152 -0.0897)
OKLCHoklch(47.26% 0.146 322.1)
XYZxyz(15.0249, 9.3803, 25.4402)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80398B #448B39
analogous
#57398B #80398B #8B396D
triadic
#80398B #8B8039 #398B80
tetradic
#80398B #8B5739 #448B39 #396D8B
square
#80398B #8B5739 #448B39 #396D8B
split-complementary
#80398B #6D8B39 #398B57
monochromatic
#301534 #582760 #80398B #A74CB5 #BD77C7

Accessibility & contrast

On white

7.30
#80398B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#80398B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80398B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80398B#FFFFFF#000000##FFFFFF
##80398B1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518E
Deuteranopia (green-blind)
#435989
Tritanopia (blue-blind)
#82455C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #80398b;
/* rgb */ color: rgb(128, 57, 139);
/* oklch */ color: oklch(47.3% 0.146 322.1);
Tailwind
colors: {
  custom: {
    50: '#a773ad',
    500: '#80398b',
    950: '#000000',
  },
}
SCSS
$custom: #80398b;
$custom-light: #a773ad;
$custom-dark: #000000;
JSON
{
  "hex": "#80398b",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 291.951,
    "s": 41.837,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47263,
    "c": 0.14601,
    "h": 322.1
  },
  "luminance": 0.0938
}

Semantic roles & 50–950 ramp

primary
#80398B
secondary
#78B06F
accent
#D25667
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #80398B

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

Preview Lab → · Contrast checker → · Palette generator →

#80398B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva