#803276#803276

#803276 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.2% C 0.138 H 332.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#803276
RGBrgb(128, 50, 118)
HSLhsl(308, 44%, 35%)
HSVhsv(308, 61%, 50%)
CMYKcmyk(0%, 60.9%, 7.8%, 49.8%)
CIE-LABlab(34.35, 42.62, -22.98)
CIE-LCHlch(34.35, 48.42, 331.67°)
OKLaboklab(45.19% 0.1225 -0.0627)
OKLCHoklch(45.19% 0.138 332.9)
XYZxyz(13.3127, 8.1794, 18.0136)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803276 #32803C
analogous
#633280 #803276 #80324F
triadic
#803276 #768032 #327680
tetradic
#803276 #806332 #32803C #324F80
square
#803276 #806332 #32803C #324F80
split-complementary
#803276 #4F8032 #328063
monochromatic
#281025 #54214D #803276 #AC439F #C468B8

Accessibility & contrast

On white

7.97
#803276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#803276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803276
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803276#FFFFFF#000000##FFFFFF
##8032761.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304A78
Deuteranopia (green-blind)
#485574
Tritanopia (blue-blind)
#85384F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #803276;
/* rgb */ color: rgb(128, 50, 118);
/* oklch */ color: oklch(45.2% 0.138 332.9);
Tailwind
colors: {
  custom: {
    50: '#a76f9d',
    500: '#803276',
    950: '#000000',
  },
}
SCSS
$custom: #803276;
$custom-light: #a76f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#803276",
  "rgb": {
    "r": 128,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 307.692,
    "s": 43.82,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45187,
    "c": 0.13759,
    "h": 332.9
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#803276
secondary
#62AC6C
accent
#D46554
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10080E
muted
#7F7B7E

Preview Lab

Preview with #803276

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

Preview Lab → · Contrast checker → · Palette generator →

#803276 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva