#804682#804682

#804682 is a mid, moderate purple. Relative luminance 0.106; OKLCH L 48.7% C 0.114 H 325.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#804682
RGBrgb(128, 70, 130)
HSLhsl(298, 30%, 39%)
HSVhsv(298, 46%, 51%)
CMYKcmyk(1.5%, 46.2%, 0%, 49%)
CIE-LABlab(38.87, 34.43, -23.40)
CIE-LCHlch(38.87, 41.63, 325.80°)
OKLaboklab(48.71% 0.0949 -0.0641)
OKLCHoklch(48.71% 0.114 325.9)
XYZxyz(15.1212, 10.5819, 22.3608)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804682 #488246
analogous
#624682 #804682 #824666
triadic
#804682 #828046 #468280
tetradic
#804682 #826246 #488246 #466682
square
#804682 #826246 #488246 #466682
split-complementary
#804682 #668246 #468262
monochromatic
#321B32 #59315A #804682 #A55DA8 #BB85BD

Accessibility & contrast

On white

6.74
#804682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#804682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804682
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804682#FFFFFF#000000##FFFFFF
##8046821.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405784
Deuteranopia (green-blind)
#505E80
Tritanopia (blue-blind)
#834C5E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #804682;
/* rgb */ color: rgb(128, 70, 130);
/* oklch */ color: oklch(48.7% 0.114 325.9);
Tailwind
colors: {
  custom: {
    50: '#a67ba6',
    500: '#804682',
    950: '#000000',
  },
}
SCSS
$custom: #804682;
$custom-light: #a67ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#804682",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 298,
    "s": 30,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48709,
    "c": 0.11448,
    "h": 325.9
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#804682
secondary
#7DA97B
accent
#C66265
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #804682

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

Preview Lab → · Contrast checker → · Palette generator →

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