#784689#784689

#784689 is a mid, moderate purple. Relative luminance 0.102; OKLCH L 48.1% C 0.117 H 317.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#784689
RGBrgb(120, 70, 137)
HSLhsl(285, 32%, 41%)
HSVhsv(285, 49%, 54%)
CMYKcmyk(12.4%, 48.9%, 0%, 46.3%)
CIE-LABlab(38.16, 33.40, -28.86)
CIE-LCHlch(38.16, 44.14, 319.17°)
OKLaboklab(48.07% 0.086 -0.08)
OKLCHoklch(48.07% 0.117 317.1)
XYZxyz(14.4506, 10.1800, 24.8658)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784689 #578946
analogous
#564689 #784689 #894678
triadic
#784689 #897846 #468978
tetradic
#784689 #895646 #578946 #467889
square
#784689 #895646 #578946 #467889
split-complementary
#784689 #788946 #468956
monochromatic
#311D38 #553160 #784689 #995FAD #B387C2

Accessibility & contrast

On white

6.92
#784689 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#784689 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784689
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784689#FFFFFF#000000##FFFFFF
##7846891.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578B
Deuteranopia (green-blind)
#485B87
Tritanopia (blue-blind)
#785061
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #784689;
/* rgb */ color: rgb(120, 70, 137);
/* oklch */ color: oklch(48.1% 0.117 317.1);
Tailwind
colors: {
  custom: {
    50: '#a07bab',
    500: '#784689',
    950: '#000000',
  },
}
SCSS
$custom: #784689;
$custom-light: #a07bab;
$custom-dark: #000000;
JSON
{
  "hex": "#784689",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 137
  },
  "hsl": {
    "h": 284.776,
    "s": 32.367,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48071,
    "c": 0.11742,
    "h": 317.1
  },
  "luminance": 0.1018
}

Semantic roles & 50–950 ramp

primary
#784689
secondary
#8AAD7D
accent
#C95F7A
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #784689

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

Preview Lab → · Contrast checker → · Palette generator →

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