#804187#804187

#804187 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.2% C 0.129 H 323.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#804187
RGBrgb(128, 65, 135)
HSLhsl(294, 35%, 39%)
HSVhsv(294, 52%, 53%)
CMYKcmyk(5.2%, 51.9%, 0%, 47.1%)
CIE-LABlab(38.06, 38.19, -27.73)
CIE-LCHlch(38.06, 47.19, 324.01°)
OKLaboklab(48.19% 0.1033 -0.0765)
OKLCHoklch(48.19% 0.129 323.5)
XYZxyz(15.1651, 10.1198, 24.0715)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804187 #488741
analogous
#5D4187 #804187 #87416B
triadic
#804187 #878041 #418780
tetradic
#804187 #875D41 #488741 #416B87
square
#804187 #875D41 #488741 #416B87
split-complementary
#804187 #6B8741 #41875D
monochromatic
#321934 #592D5E #804187 #A557AE #BB80C2

Accessibility & contrast

On white

6.94
#804187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#804187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804187
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804187#FFFFFF#000000##FFFFFF
##8041871.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385589
Deuteranopia (green-blind)
#4B5C85
Tritanopia (blue-blind)
#824A5E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #804187;
/* rgb */ color: rgb(128, 65, 135);
/* oklch */ color: oklch(48.2% 0.129 323.5);
Tailwind
colors: {
  custom: {
    50: '#a778aa',
    500: '#804187',
    950: '#000000',
  },
}
SCSS
$custom: #804187;
$custom-light: #a778aa;
$custom-dark: #000000;
JSON
{
  "hex": "#804187",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 294,
    "s": 35,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48187,
    "c": 0.12857,
    "h": 323.5
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#804187
secondary
#7DAD77
accent
#CB5D68
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #804187

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

Preview Lab → · Contrast checker → · Palette generator →

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