#804DA0#804DA0

#804DA0 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.136 H 310.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#804DA0
RGBrgb(128, 77, 160)
HSLhsl(277, 35%, 46%)
HSVhsv(277, 52%, 63%)
CMYKcmyk(20%, 51.9%, 0%, 37.3%)
CIE-LABlab(41.90, 37.03, -36.79)
CIE-LCHlch(41.90, 52.20, 315.18°)
OKLaboklab(51.46% 0.0889 -0.1028)
OKLCHoklch(51.46% 0.136 310.8)
XYZxyz(17.9000, 12.4354, 34.7082)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804DA0 #6DA04D
analogous
#574DA0 #804DA0 #A04D97
triadic
#804DA0 #A0804D #4DA080
tetradic
#804DA0 #A0574D #6DA04D #4D97A0
square
#804DA0 #A0574D #6DA04D #4D97A0
split-complementary
#804DA0 #97A04D #4DA057
monochromatic
#3E254D #5F3977 #804DA0 #9E70BA #BA99CE

Accessibility & contrast

On white

6.02
#804DA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#804DA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804DA0
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804DA0#FFFFFF#000000##FFFFFF
##804DA01.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A3
Deuteranopia (green-blind)
#47649E
Tritanopia (blue-blind)
#7C5B6F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #804da0;
/* rgb */ color: rgb(128, 77, 160);
/* oklch */ color: oklch(51.5% 0.136 310.8);
Tailwind
colors: {
  custom: {
    50: '#a780bc',
    500: '#804da0',
    950: '#000000',
  },
}
SCSS
$custom: #804da0;
$custom-light: #a780bc;
$custom-dark: #000000;
JSON
{
  "hex": "#804da0",
  "rgb": {
    "r": 128,
    "g": 77,
    "b": 160
  },
  "hsl": {
    "h": 276.867,
    "s": 35.021,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51456,
    "c": 0.13595,
    "h": 310.8
  },
  "luminance": 0.12435
}

Semantic roles & 50–950 ramp

primary
#804DA0
secondary
#9FBB8E
accent
#CB5D87
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #804DA0

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

Preview Lab → · Contrast checker → · Palette generator →

#804DA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva