#784188#784188

#784188 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.2% C 0.125 H 318.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#784188
RGBrgb(120, 65, 136)
HSLhsl(286, 35%, 39%)
HSVhsv(286, 52%, 53%)
CMYKcmyk(11.8%, 52.2%, 0%, 46.7%)
CIE-LABlab(37.03, 36.00, -30.04)
CIE-LCHlch(37.03, 46.89, 320.16°)
OKLaboklab(47.21% 0.0933 -0.0834)
OKLCHoklch(47.21% 0.125 318.2)
XYZxyz(14.0794, 9.5517, 24.3898)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784188 #518841
analogous
#554188 #784188 #884175
triadic
#784188 #887841 #418878
tetradic
#784188 #885541 #518841 #417588
square
#784188 #885541 #518841 #417588
split-complementary
#784188 #758841 #418855
monochromatic
#2F1935 #532D5F #784188 #9B57AF #B481C3

Accessibility & contrast

On white

7.22
#784188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#784188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784188
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784188#FFFFFF#000000##FFFFFF
##7841881.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34538A
Deuteranopia (green-blind)
#445986
Tritanopia (blue-blind)
#784B5E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #784188;
/* rgb */ color: rgb(120, 65, 136);
/* oklch */ color: oklch(47.2% 0.125 318.2);
Tailwind
colors: {
  custom: {
    50: '#a178ab',
    500: '#784188',
    950: '#000000',
  },
}
SCSS
$custom: #784188;
$custom-light: #a178ab;
$custom-dark: #000000;
JSON
{
  "hex": "#784188",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 136
  },
  "hsl": {
    "h": 286.479,
    "s": 35.323,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4721,
    "c": 0.12514,
    "h": 318.2
  },
  "luminance": 0.09551
}

Semantic roles & 50–950 ramp

primary
#784188
secondary
#84AD78
accent
#CB5C75
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #784188

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

Preview Lab → · Contrast checker → · Palette generator →

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