#804EBF#804EBF

#804EBF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.172 H 301.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#804EBF
RGBrgb(128, 78, 191)
HSLhsl(267, 47%, 53%)
HSVhsv(267, 59%, 75%)
CMYKcmyk(33%, 59.2%, 0%, 25.1%)
CIE-LABlab(43.94, 44.03, -51.80)
CIE-LCHlch(43.94, 67.99, 310.36°)
OKLaboklab(53.55% 0.0889 -0.1468)
OKLCHoklch(53.55% 0.172 301.2)
XYZxyz(21.0282, 13.7995, 50.8358)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804EBF #8DBF4E
analogous
#4E54BF #804EBF #B94EBF
triadic
#804EBF #BF804E #4EBF80
tetradic
#804EBF #BF4E54 #8DBF4E #4EBFB9
square
#804EBF #BF4E54 #8DBF4E #4EBFB9
split-complementary
#804EBF #BFB94E #54BF4E
monochromatic
#45276C #623799 #804EBF #A07BCF #C1A8E0

Accessibility & contrast

On white

5.59
#804EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#804EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804EBF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804EBF#FFFFFF#000000##FFFFFF
##804EBF1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1367C3
Deuteranopia (green-blind)
#2D67BC
Tritanopia (blue-blind)
#73657F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #804ebf;
/* rgb */ color: rgb(128, 78, 191);
/* oklch */ color: oklch(53.6% 0.172 301.2);
Tailwind
colors: {
  custom: {
    50: '#a982d3',
    500: '#804ebf',
    950: '#000000',
  },
}
SCSS
$custom: #804ebf;
$custom-light: #a982d3;
$custom-dark: #000000;
JSON
{
  "hex": "#804ebf",
  "rgb": {
    "r": 128,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 266.549,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53551,
    "c": 0.17158,
    "h": 301.2
  },
  "luminance": 0.138
}

Semantic roles & 50–950 ramp

primary
#804EBF
secondary
#B7CD9C
accent
#D7519C
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #804EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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