#804F99#804F99

#804F99 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.4% C 0.124 H 313.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#804F99
RGBrgb(128, 79, 153)
HSLhsl(280, 32%, 45%)
HSVhsv(280, 48%, 60%)
CMYKcmyk(16.3%, 48.4%, 0%, 40%)
CIE-LABlab(41.97, 34.28, -32.49)
CIE-LCHlch(41.97, 47.24, 316.54°)
OKLaboklab(51.39% 0.0851 -0.0904)
OKLCHoklch(51.39% 0.124 313.3)
XYZxyz(17.4469, 12.4815, 31.6209)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804F99 #68994F
analogous
#5B4F99 #804F99 #994F8D
triadic
#804F99 #99804F #4F9980
tetradic
#804F99 #995B4F #68994F #4F8D99
square
#804F99 #995B4F #68994F #4F8D99
split-complementary
#804F99 #8D994F #4F995B
monochromatic
#3C2548 #5E3A71 #804F99 #9E70B5 #B998CA

Accessibility & contrast

On white

6.01
#804F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#804F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804F99
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804F99#FFFFFF#000000##FFFFFF
##804F991.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609C
Deuteranopia (green-blind)
#4D6497
Tritanopia (blue-blind)
#7E5A6D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #804f99;
/* rgb */ color: rgb(128, 79, 153);
/* oklch */ color: oklch(51.4% 0.124 313.3);
Tailwind
colors: {
  custom: {
    50: '#a682b7',
    500: '#804f99',
    950: '#000000',
  },
}
SCSS
$custom: #804f99;
$custom-light: #a682b7;
$custom-dark: #000000;
JSON
{
  "hex": "#804f99",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 279.73,
    "s": 31.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51389,
    "c": 0.12415,
    "h": 313.3
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

primary
#804F99
secondary
#9BB78D
accent
#C86083
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #804F99

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

Preview Lab → · Contrast checker → · Palette generator →

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