#804380#804380

#804380 is a mid, moderate purple. Relative luminance 0.102; OKLCH L 48.1% C 0.118 H 327.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#804380
RGBrgb(128, 67, 128)
HSLhsl(300, 31%, 38%)
HSVhsv(300, 48%, 50%)
CMYKcmyk(0%, 47.7%, 0%, 49.8%)
CIE-LABlab(38.13, 35.70, -23.31)
CIE-LCHlch(38.13, 42.63, 326.85°)
OKLaboklab(48.13% 0.0991 -0.0638)
OKLCHoklch(48.13% 0.118 327.2)
XYZxyz(14.8053, 10.1628, 21.5997)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804380 #438043
analogous
#614380 #804380 #804361
triadic
#804380 #808043 #438080
tetradic
#804380 #806143 #438043 #436180
square
#804380 #806143 #438043 #436180
split-complementary
#804380 #618043 #438061
monochromatic
#301930 #582E58 #804380 #A858A8 #BD81BD

Accessibility & contrast

On white

6.93
#804380 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#804380 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804380
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804380#FFFFFF#000000##FFFFFF
##8043801.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5582
Deuteranopia (green-blind)
#4F5D7E
Tritanopia (blue-blind)
#83495B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #804380;
/* rgb */ color: rgb(128, 67, 128);
/* oklch */ color: oklch(48.1% 0.118 327.2);
Tailwind
colors: {
  custom: {
    50: '#a679a5',
    500: '#804380',
    950: '#000000',
  },
}
SCSS
$custom: #804380;
$custom-light: #a679a5;
$custom-dark: #000000;
JSON
{
  "hex": "#804380",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 128
  },
  "hsl": {
    "h": 300,
    "s": 31.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48132,
    "c": 0.11788,
    "h": 327.2
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#804380
secondary
#77A877
accent
#C76060
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #804380

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

Preview Lab → · Contrast checker → · Palette generator →

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