#784186#784186

#784186 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.1% C 0.123 H 319.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#784186
RGBrgb(120, 65, 134)
HSLhsl(288, 35%, 39%)
HSVhsv(288, 51%, 53%)
CMYKcmyk(10.4%, 51.5%, 0%, 47.5%)
CIE-LABlab(36.92, 35.56, -28.98)
CIE-LCHlch(36.92, 45.87, 320.83°)
OKLaboklab(47.1% 0.093 -0.0803)
OKLCHoklch(47.1% 0.123 319.2)
XYZxyz(13.9385, 9.4954, 23.6482)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784186 #4F8641
analogous
#564186 #784186 #864172
triadic
#784186 #867841 #418678
tetradic
#784186 #865641 #4F8641 #417286
square
#784186 #865641 #4F8641 #417286
split-complementary
#784186 #728641 #418656
monochromatic
#2E1934 #532D5D #784186 #9C57AD #B480C1

Accessibility & contrast

On white

7.24
#784186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#784186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784186
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784186#FFFFFF#000000##FFFFFF
##7841861.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355388
Deuteranopia (green-blind)
#455984
Tritanopia (blue-blind)
#784B5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #784186;
/* rgb */ color: rgb(120, 65, 134);
/* oklch */ color: oklch(47.1% 0.123 319.2);
Tailwind
colors: {
  custom: {
    50: '#a178a9',
    500: '#784186',
    950: '#000000',
  },
}
SCSS
$custom: #784186;
$custom-light: #a178a9;
$custom-dark: #000000;
JSON
{
  "hex": "#784186",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 134
  },
  "hsl": {
    "h": 287.826,
    "s": 34.673,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47099,
    "c": 0.1229,
    "h": 319.2
  },
  "luminance": 0.09495
}

Semantic roles & 50–950 ramp

primary
#784186
secondary
#82AC77
accent
#CB5D73
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #784186

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

Preview Lab → · Contrast checker → · Palette generator →

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