#784189#784189

#784189 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.3% C 0.126 H 317.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#784189
RGBrgb(120, 65, 137)
HSLhsl(286, 36%, 40%)
HSVhsv(286, 53%, 54%)
CMYKcmyk(12.4%, 52.6%, 0%, 46.3%)
CIE-LABlab(37.08, 36.22, -30.57)
CIE-LCHlch(37.08, 47.39, 319.83°)
OKLaboklab(47.27% 0.0935 -0.0849)
OKLCHoklch(47.27% 0.126 317.7)
XYZxyz(14.1508, 9.5803, 24.7658)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784189 #528941
analogous
#544189 #784189 #894176
triadic
#784189 #897841 #418978
tetradic
#784189 #895441 #528941 #417689
square
#784189 #895441 #528941 #417689
split-complementary
#784189 #768941 #418954
monochromatic
#2F1A36 #542D5F #784189 #9B58B0 #B481C3

Accessibility & contrast

On white

7.20
#784189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#784189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784189
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784189#FFFFFF#000000##FFFFFF
##7841891.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548B
Deuteranopia (green-blind)
#445987
Tritanopia (blue-blind)
#784C5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #784189;
/* rgb */ color: rgb(120, 65, 137);
/* oklch */ color: oklch(47.3% 0.126 317.7);
Tailwind
colors: {
  custom: {
    50: '#a178ac',
    500: '#784189',
    950: '#000000',
  },
}
SCSS
$custom: #784189;
$custom-light: #a178ac;
$custom-dark: #000000;
JSON
{
  "hex": "#784189",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 285.833,
    "s": 35.644,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47266,
    "c": 0.12626,
    "h": 317.7
  },
  "luminance": 0.0958
}

Semantic roles & 50–950 ramp

primary
#784189
secondary
#85AE78
accent
#CC5C76
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #784189

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

Preview Lab → · Contrast checker → · Palette generator →

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