#784173#784173

#784173 is a mid, moderate purple. Relative luminance 0.090; OKLCH L 46.1% C 0.103 H 330.5°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#784173
RGBrgb(120, 65, 115)
HSLhsl(305, 30%, 36%)
HSVhsv(305, 46%, 47%)
CMYKcmyk(0%, 45.8%, 4.2%, 52.9%)
CIE-LABlab(36.01, 31.65, -18.62)
CIE-LCHlch(36.01, 36.72, 329.53°)
OKLaboklab(46.12% 0.0894 -0.0506)
OKLCHoklch(46.12% 0.103 330.5)
XYZxyz(12.7304, 9.0122, 17.2853)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784173 #417846
analogous
#624178 #784173 #784158
triadic
#784173 #737841 #417378
tetradic
#784173 #786241 #417846 #415878
square
#784173 #786241 #417846 #415878
split-complementary
#784173 #587841 #417862
monochromatic
#291627 #502B4D #784173 #A05799 #B87CB2

Accessibility & contrast

On white

7.49
#784173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#784173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784173
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784173#FFFFFF#000000##FFFFFF
##7841731.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5075
Deuteranopia (green-blind)
#4E5771
Tritanopia (blue-blind)
#7C4554
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #784173;
/* rgb */ color: rgb(120, 65, 115);
/* oklch */ color: oklch(46.1% 0.103 330.5);
Tailwind
colors: {
  custom: {
    50: '#a0779b',
    500: '#784173',
    950: '#000000',
  },
}
SCSS
$custom: #784173;
$custom-light: #a0779b;
$custom-dark: #000000;
JSON
{
  "hex": "#784173",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 305.455,
    "s": 29.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4612,
    "c": 0.10278,
    "h": 330.5
  },
  "luminance": 0.09011
}

Semantic roles & 50–950 ramp

primary
#784173
secondary
#72A377
accent
#C66B62
background
#FAF7F9
surface
#F3EDF2
border
#CDC8CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #784173

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

Preview Lab → · Contrast checker → · Palette generator →

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