#803794#803794

#803794 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.5% C 0.158 H 318.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#803794
RGBrgb(128, 55, 148)
HSLhsl(287, 46%, 40%)
HSVhsv(287, 63%, 58%)
CMYKcmyk(13.5%, 62.8%, 0%, 42%)
CIE-LABlab(36.86, 46.01, -37.57)
CIE-LCHlch(36.86, 59.40, 320.76°)
OKLaboklab(47.54% 0.1183 -0.105)
OKLCHoklch(47.54% 0.158 318.4)
XYZxyz(15.6128, 9.4603, 29.0148)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803794 #4B9437
analogous
#523794 #803794 #943779
triadic
#803794 #948037 #379480
tetradic
#803794 #945237 #4B9437 #377994
square
#803794 #945237 #4B9437 #377994
split-complementary
#803794 #799437 #379452
monochromatic
#33163B #592667 #803794 #A44CBC #BB78CD

Accessibility & contrast

On white

7.26
#803794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#803794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803794
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803794#FFFFFF#000000##FFFFFF
##8037941.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5297
Deuteranopia (green-blind)
#3C5992
Tritanopia (blue-blind)
#804760
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #803794;
/* rgb */ color: rgb(128, 55, 148);
/* oklch */ color: oklch(47.5% 0.158 318.4);
Tailwind
colors: {
  custom: {
    50: '#a773b4',
    500: '#803794',
    950: '#000000',
  },
}
SCSS
$custom: #803794;
$custom-light: #a773b4;
$custom-dark: #000000;
JSON
{
  "hex": "#803794",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 148
  },
  "hsl": {
    "h": 287.097,
    "s": 45.813,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47538,
    "c": 0.15816,
    "h": 318.4
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#803794
secondary
#80B671
accent
#D5526F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #803794

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

Preview Lab → · Contrast checker → · Palette generator →

#803794 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva