#784178#784178

#784178 is a mid, moderate purple. Relative luminance 0.091; OKLCH L 46.4% C 0.108 H 327.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#784178
RGBrgb(120, 65, 120)
HSLhsl(300, 30%, 36%)
HSVhsv(300, 46%, 47%)
CMYKcmyk(0%, 45.8%, 0%, 52.9%)
CIE-LABlab(36.23, 32.64, -21.39)
CIE-LCHlch(36.23, 39.02, 326.76°)
OKLaboklab(46.36% 0.0906 -0.0585)
OKLCHoklch(46.36% 0.108 327.1)
XYZxyz(13.0259, 9.1304, 18.8419)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784178 #417841
analogous
#5D4178 #784178 #78415D
triadic
#784178 #787841 #417878
tetradic
#784178 #785D41 #417841 #415D78
square
#784178 #785D41 #417841 #415D78
split-complementary
#784178 #5D7841 #41785D
monochromatic
#291629 #502B50 #784178 #A057A0 #B87CB8

Accessibility & contrast

On white

7.43
#784178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#784178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784178
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784178#FFFFFF#000000##FFFFFF
##7841781.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517A
Deuteranopia (green-blind)
#4C5876
Tritanopia (blue-blind)
#7B4757
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #784178;
/* rgb */ color: rgb(120, 65, 120);
/* oklch */ color: oklch(46.4% 0.108 327.1);
Tailwind
colors: {
  custom: {
    50: '#a0779f',
    500: '#784178',
    950: '#000000',
  },
}
SCSS
$custom: #784178;
$custom-light: #a0779f;
$custom-dark: #000000;
JSON
{
  "hex": "#784178",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 300,
    "s": 29.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46364,
    "c": 0.10783,
    "h": 327.1
  },
  "luminance": 0.0913
}

Semantic roles & 50–950 ramp

primary
#784178
secondary
#72A372
accent
#C66262
background
#FAF7F9
surface
#F3EDF2
border
#CDC8CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #784178

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

Preview Lab → · Contrast checker → · Palette generator →

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