#804CCF#804CCF

#804CCF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.193 H 297.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#804CCF
RGBrgb(128, 76, 207)
HSLhsl(264, 58%, 55%)
HSVhsv(264, 63%, 81%)
CMYKcmyk(38.2%, 63.3%, 0%, 18.8%)
CIE-LABlab(44.61, 49.19, -59.99)
CIE-LCHlch(44.61, 77.58, 309.35°)
OKLaboklab(54.37% 0.0905 -0.1708)
OKLCHoklch(54.37% 0.193 297.9)
XYZxyz(22.7462, 14.2627, 60.5740)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804CCF #9BCF4C
analogous
#4C59CF #804CCF #C14CCF
triadic
#804CCF #CF804C #4CCF80
tetradic
#804CCF #CF4C59 #9BCF4C #4CCFC1
square
#804CCF #CF4C59 #9BCF4C #4CCFC1
split-complementary
#804CCF #CFC14C #59CF4C
monochromatic
#47227F #622FAF #804CCF #A27CDC #C4ADE9

Accessibility & contrast

On white

5.45
#804CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#804CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804CCF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804CCF#FFFFFF#000000##FFFFFF
##804CCF1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#6D6987
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #804ccf;
/* rgb */ color: rgb(128, 76, 207);
/* oklch */ color: oklch(54.4% 0.193 297.9);
Tailwind
colors: {
  custom: {
    50: '#aa81de',
    500: '#804ccf',
    950: '#000000',
  },
}
SCSS
$custom: #804ccf;
$custom-light: #aa81de;
$custom-dark: #000000;
JSON
{
  "hex": "#804ccf",
  "rgb": {
    "r": 128,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 263.817,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.1933,
    "h": 297.9
  },
  "luminance": 0.14263
}

Semantic roles & 50–950 ramp

primary
#804CCF
secondary
#C1D7A0
accent
#E147A4
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #804CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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