#803282#803282

#803282 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.8% C 0.148 H 326.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#803282
RGBrgb(128, 50, 130)
HSLhsl(299, 44%, 35%)
HSVhsv(299, 62%, 51%)
CMYKcmyk(1.5%, 61.5%, 0%, 49%)
CIE-LABlab(34.97, 44.81, -29.50)
CIE-LCHlch(34.97, 53.65, 326.64°)
OKLaboklab(45.84% 0.1239 -0.0815)
OKLCHoklch(45.84% 0.148 326.7)
XYZxyz(14.0717, 8.4830, 22.0110)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803282 #348232
analogous
#583282 #803282 #82325C
triadic
#803282 #828032 #328280
tetradic
#803282 #825832 #348232 #325C82
square
#803282 #825832 #348232 #325C82
split-complementary
#803282 #5C8232 #328258
monochromatic
#29102A #542156 #803282 #AC43AE #C369C5

Accessibility & contrast

On white

7.79
#803282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#803282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803282
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803282#FFFFFF#000000##FFFFFF
##8032821.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C84
Deuteranopia (green-blind)
#435680
Tritanopia (blue-blind)
#833C55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #803282;
/* rgb */ color: rgb(128, 50, 130);
/* oklch */ color: oklch(45.8% 0.148 326.7);
Tailwind
colors: {
  custom: {
    50: '#a76fa6',
    500: '#803282',
    950: '#000000',
  },
}
SCSS
$custom: #803282;
$custom-light: #a76fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#803282",
  "rgb": {
    "r": 128,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 298.5,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45837,
    "c": 0.1483,
    "h": 326.7
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#803282
secondary
#65AD63
accent
#D45457
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #803282

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

Preview Lab → · Contrast checker → · Palette generator →

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