#784183#784183

#784183 is a mid, moderate purple. Relative luminance 0.094; OKLCH L 46.9% C 0.120 H 320.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#784183
RGBrgb(120, 65, 131)
HSLhsl(290, 34%, 38%)
HSVhsv(290, 50%, 51%)
CMYKcmyk(8.4%, 50.4%, 0%, 48.6%)
CIE-LABlab(36.77, 34.92, -27.37)
CIE-LCHlch(36.77, 44.37, 321.91°)
OKLaboklab(46.94% 0.0926 -0.0757)
OKLCHoklch(46.94% 0.12 320.8)
XYZxyz(13.7323, 9.4129, 22.5618)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784183 #4C8341
analogous
#574183 #784183 #83416D
triadic
#784183 #837841 #418378
tetradic
#784183 #835741 #4C8341 #416D83
square
#784183 #835741 #4C8341 #416D83
split-complementary
#784183 #6D8341 #418357
monochromatic
#2D1831 #532D5A #784183 #9D56AB #B57FBF

Accessibility & contrast

On white

7.29
#784183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#784183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784183
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784183#FFFFFF#000000##FFFFFF
##7841831.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375385
Deuteranopia (green-blind)
#475981
Tritanopia (blue-blind)
#794A5C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #784183;
/* rgb */ color: rgb(120, 65, 131);
/* oklch */ color: oklch(46.9% 0.120 320.8);
Tailwind
colors: {
  custom: {
    50: '#a078a7',
    500: '#784183',
    950: '#000000',
  },
}
SCSS
$custom: #784183;
$custom-light: #a078a7;
$custom-dark: #000000;
JSON
{
  "hex": "#784183",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 131
  },
  "hsl": {
    "h": 290,
    "s": 33.673,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46935,
    "c": 0.11959,
    "h": 320.8
  },
  "luminance": 0.09412
}

Semantic roles & 50–950 ramp

primary
#784183
secondary
#7EAA76
accent
#CA5E70
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #784183

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

Preview Lab → · Contrast checker → · Palette generator →

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