#784184#784184

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

Color values

HEX#784184
RGBrgb(120, 65, 132)
HSLhsl(289, 34%, 39%)
HSVhsv(289, 51%, 52%)
CMYKcmyk(9.1%, 50.8%, 0%, 48.2%)
CIE-LABlab(36.82, 35.13, -27.91)
CIE-LCHlch(36.82, 44.87, 321.54°)
OKLaboklab(46.99% 0.0928 -0.0772)
OKLCHoklch(46.99% 0.121 320.2)
XYZxyz(13.8004, 9.4401, 22.9205)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784184 #4D8441
analogous
#564184 #784184 #84416E
triadic
#784184 #847841 #418478
tetradic
#784184 #845641 #4D8441 #416E84
square
#784184 #845641 #4D8441 #416E84
split-complementary
#784184 #6E8441 #418456
monochromatic
#2D1932 #532D5B #784184 #9D56AC #B57FC0

Accessibility & contrast

On white

7.27
#784184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #784184
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784184#FFFFFF#000000##FFFFFF
##7841841.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365386
Deuteranopia (green-blind)
#465982
Tritanopia (blue-blind)
#794A5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #784184;
/* rgb */ color: rgb(120, 65, 132);
/* oklch */ color: oklch(47.0% 0.121 320.2);
Tailwind
colors: {
  custom: {
    50: '#a178a8',
    500: '#784184',
    950: '#000000',
  },
}
SCSS
$custom: #784184;
$custom-light: #a178a8;
$custom-dark: #000000;
JSON
{
  "hex": "#784184",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 132
  },
  "hsl": {
    "h": 289.254,
    "s": 34.01,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46989,
    "c": 0.12068,
    "h": 320.2
  },
  "luminance": 0.0944
}

Semantic roles & 50–950 ramp

primary
#784184
secondary
#7FAB76
accent
#CA5E71
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #784184

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

Preview Lab → · Contrast checker → · Palette generator →

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