#804FA9#804FA9

#804FA9 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.3% C 0.143 H 307.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#804FA9
RGBrgb(128, 79, 169)
HSLhsl(273, 36%, 49%)
HSVhsv(273, 53%, 66%)
CMYKcmyk(24.3%, 53.3%, 0%, 33.7%)
CIE-LABlab(42.83, 38.04, -40.67)
CIE-LCHlch(42.83, 55.68, 313.09°)
OKLaboklab(52.31% 0.0869 -0.1141)
OKLCHoklch(52.31% 0.143 307.3)
XYZxyz(18.8581, 13.0459, 39.0531)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804FA9 #78A94F
analogous
#534FA9 #804FA9 #A94FA5
triadic
#804FA9 #A9804F #4FA980
tetradic
#804FA9 #A9534F #78A94F #4FA5A9
square
#804FA9 #A9534F #78A94F #4FA5A9
split-complementary
#804FA9 #A5A94F #4FA953
monochromatic
#412856 #603C7F #804FA9 #9E76BF #BBA0D3

Accessibility & contrast

On white

5.82
#804FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#804FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804FA9
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804FA9#FFFFFF#000000##FFFFFF
##804FA91.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3463AC
Deuteranopia (green-blind)
#4366A7
Tritanopia (blue-blind)
#7A5F74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #804fa9;
/* rgb */ color: rgb(128, 79, 169);
/* oklch */ color: oklch(52.3% 0.143 307.3);
Tailwind
colors: {
  custom: {
    50: '#a782c3',
    500: '#804fa9',
    950: '#000000',
  },
}
SCSS
$custom: #804fa9;
$custom-light: #a782c3;
$custom-dark: #000000;
JSON
{
  "hex": "#804fa9",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 272.667,
    "s": 36.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.14346,
    "h": 307.3
  },
  "luminance": 0.13046
}

Semantic roles & 50–950 ramp

primary
#804FA9
secondary
#A8C094
accent
#CC5C8F
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #804FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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