#784174#784174

#784174 is a mid, moderate purple. Relative luminance 0.090; OKLCH L 46.2% C 0.104 H 329.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#784174
RGBrgb(120, 65, 116)
HSLhsl(304, 30%, 36%)
HSVhsv(304, 46%, 47%)
CMYKcmyk(0%, 45.8%, 3.3%, 52.9%)
CIE-LABlab(36.05, 31.85, -19.18)
CIE-LCHlch(36.05, 37.18, 328.94°)
OKLaboklab(46.17% 0.0897 -0.0522)
OKLCHoklch(46.17% 0.104 329.8)
XYZxyz(12.7883, 9.0353, 17.5900)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784174 #417845
analogous
#614178 #784174 #784159
triadic
#784174 #747841 #417478
tetradic
#784174 #786141 #417845 #415978
square
#784174 #786141 #417845 #415978
split-complementary
#784174 #597841 #417861
monochromatic
#291627 #502B4E #784174 #A0579A #B87CB3

Accessibility & contrast

On white

7.48
#784174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#784174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784174
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784174#FFFFFF#000000##FFFFFF
##7841741.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5076
Deuteranopia (green-blind)
#4D5772
Tritanopia (blue-blind)
#7C4555
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #784174;
/* rgb */ color: rgb(120, 65, 116);
/* oklch */ color: oklch(46.2% 0.104 329.8);
Tailwind
colors: {
  custom: {
    50: '#a0779c',
    500: '#784174',
    950: '#000000',
  },
}
SCSS
$custom: #784174;
$custom-light: #a0779c;
$custom-dark: #000000;
JSON
{
  "hex": "#784174",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 304.364,
    "s": 29.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46168,
    "c": 0.10378,
    "h": 329.8
  },
  "luminance": 0.09035
}

Semantic roles & 50–950 ramp

primary
#784174
secondary
#72A376
accent
#C66962
background
#FAF7F9
surface
#F3EDF2
border
#CDC8CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #784174

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

Preview Lab → · Contrast checker → · Palette generator →

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