#80338F#80338F

#80338F is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.7% C 0.159 H 320.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#80338F
RGBrgb(128, 51, 143)
HSLhsl(290, 47%, 38%)
HSVhsv(290, 64%, 56%)
CMYKcmyk(10.5%, 64.3%, 0%, 43.9%)
CIE-LABlab(35.87, 46.88, -36.09)
CIE-LCHlch(35.87, 59.16, 322.41°)
OKLaboklab(46.73% 0.1233 -0.1006)
OKLCHoklch(46.73% 0.159 320.8)
XYZxyz(15.0433, 8.9407, 26.9146)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80338F #428F33
analogous
#52338F #80338F #8F3370
triadic
#80338F #8F8033 #338F80
tetradic
#80338F #8F5233 #428F33 #33708F
square
#80338F #8F5233 #428F33 #33708F
split-complementary
#80338F #708F33 #338F52
monochromatic
#2F1335 #582362 #80338F #A843BC #BD70CC

Accessibility & contrast

On white

7.53
#80338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#80338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80338F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80338F#FFFFFF#000000##FFFFFF
##80338F1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#3C578D
Tritanopia (blue-blind)
#81425C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #80338f;
/* rgb */ color: rgb(128, 51, 143);
/* oklch */ color: oklch(46.7% 0.159 320.8);
Tailwind
colors: {
  custom: {
    50: '#a870b0',
    500: '#80338f',
    950: '#000000',
  },
}
SCSS
$custom: #80338f;
$custom-light: #a870b0;
$custom-dark: #000000;
JSON
{
  "hex": "#80338f",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 290.217,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46728,
    "c": 0.15913,
    "h": 320.8
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#80338F
secondary
#76B46A
accent
#D75167
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #80338F

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

Preview Lab → · Contrast checker → · Palette generator →

#80338F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva