#804DC1#804DC1

#804DC1 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.175 H 300.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#804DC1
RGBrgb(128, 77, 193)
HSLhsl(266, 48%, 53%)
HSVhsv(266, 60%, 76%)
CMYKcmyk(33.7%, 60.1%, 0%, 24.3%)
CIE-LABlab(43.87, 45.08, -53.09)
CIE-LCHlch(43.87, 69.65, 310.33°)
OKLaboklab(53.54% 0.0901 -0.1505)
OKLCHoklch(53.54% 0.175 300.9)
XYZxyz(21.1793, 13.7471, 51.9794)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804DC1 #8EC14D
analogous
#4D54C1 #804DC1 #BA4DC1
triadic
#804DC1 #C1804D #4DC180
tetradic
#804DC1 #C14D54 #8EC14D #4DC1BA
square
#804DC1 #C14D54 #8EC14D #4DC1BA
split-complementary
#804DC1 #C1BA4D #54C14D
monochromatic
#45266D #62369B #804DC1 #A07AD1 #C1A8E1

Accessibility & contrast

On white

5.60
#804DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#804DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804DC1
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804DC1#FFFFFF#000000##FFFFFF
##804DC11.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0667C5
Deuteranopia (green-blind)
#2867BE
Tritanopia (blue-blind)
#736580
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #804dc1;
/* rgb */ color: rgb(128, 77, 193);
/* oklch */ color: oklch(53.5% 0.175 300.9);
Tailwind
colors: {
  custom: {
    50: '#a981d4',
    500: '#804dc1',
    950: '#000000',
  },
}
SCSS
$custom: #804dc1;
$custom-light: #a981d4;
$custom-dark: #000000;
JSON
{
  "hex": "#804dc1",
  "rgb": {
    "r": 128,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 266.379,
    "s": 48.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53536,
    "c": 0.17542,
    "h": 300.9
  },
  "luminance": 0.13747
}

Semantic roles & 50–950 ramp

primary
#804DC1
secondary
#B8CE9C
accent
#D8509C
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #804DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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