#804FD0#804FD0

#804FD0 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.190 H 297.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#804FD0
RGBrgb(128, 79, 208)
HSLhsl(263, 58%, 56%)
HSVhsv(263, 62%, 82%)
CMYKcmyk(38.5%, 62%, 0%, 18.4%)
CIE-LABlab(45.27, 47.85, -59.50)
CIE-LCHlch(45.27, 76.35, 308.81°)
OKLaboklab(54.87% 0.087 -0.1694)
OKLCHoklch(54.87% 0.19 297.2)
XYZxyz(23.0803, 14.7348, 61.2904)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804FD0 #9FD04F
analogous
#4F5FD0 #804FD0 #C14FD0
triadic
#804FD0 #D0804F #4FD080
tetradic
#804FD0 #D04F5F #9FD04F #4FD0C1
square
#804FD0 #D04F5F #9FD04F #4FD0C1
split-complementary
#804FD0 #D0C14F #5FD04F
monochromatic
#472382 #6130B2 #804FD0 #A37FDD #C6B0EA

Accessibility & contrast

On white

5.32
#804FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#804FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804FD0
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804FD0#FFFFFF#000000##FFFFFF
##804FD01.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#096ACD
Tritanopia (blue-blind)
#6D6C88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #804fd0;
/* rgb */ color: rgb(128, 79, 208);
/* oklch */ color: oklch(54.9% 0.190 297.2);
Tailwind
colors: {
  custom: {
    50: '#aa83df',
    500: '#804fd0',
    950: '#000000',
  },
}
SCSS
$custom: #804fd0;
$custom-light: #aa83df;
$custom-dark: #000000;
JSON
{
  "hex": "#804fd0",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 208
  },
  "hsl": {
    "h": 262.791,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54873,
    "c": 0.19042,
    "h": 297.2
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#804FD0
secondary
#C4D8A3
accent
#E147A6
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #804FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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