#784087#784087

#784087 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.0% C 0.126 H 318.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#784087
RGBrgb(120, 64, 135)
HSLhsl(287, 36%, 39%)
HSVhsv(287, 53%, 53%)
CMYKcmyk(11.1%, 52.6%, 0%, 47.1%)
CIE-LABlab(36.76, 36.34, -29.84)
CIE-LCHlch(36.76, 47.02, 320.60°)
OKLaboklab(47% 0.0947 -0.0828)
OKLCHoklch(47% 0.126 318.8)
XYZxyz(13.9517, 9.4096, 23.9983)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784087 #4F8740
analogous
#554087 #784087 #874073
triadic
#784087 #877840 #408778
tetradic
#784087 #875540 #4F8740 #407387
square
#784087 #875540 #4F8740 #407387
split-complementary
#784087 #738740 #408755
monochromatic
#2E1934 #532C5D #784087 #9C56AF #B47FC2

Accessibility & contrast

On white

7.29
#784087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#784087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784087
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784087#FFFFFF#000000##FFFFFF
##7840871.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335389
Deuteranopia (green-blind)
#445885
Tritanopia (blue-blind)
#784A5D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #784087;
/* rgb */ color: rgb(120, 64, 135);
/* oklch */ color: oklch(47.0% 0.126 318.8);
Tailwind
colors: {
  custom: {
    50: '#a177aa',
    500: '#784087',
    950: '#000000',
  },
}
SCSS
$custom: #784087;
$custom-light: #a177aa;
$custom-dark: #000000;
JSON
{
  "hex": "#784087",
  "rgb": {
    "r": 120,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 287.324,
    "s": 35.678,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46998,
    "c": 0.12576,
    "h": 318.8
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#784087
secondary
#82AD76
accent
#CC5C74
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #784087

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

Preview Lab → · Contrast checker → · Palette generator →

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