#784192#784192

#784192 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 47.8% C 0.136 H 313.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#784192
RGBrgb(120, 65, 146)
HSLhsl(281, 38%, 41%)
HSVhsv(281, 55%, 57%)
CMYKcmyk(17.8%, 55.5%, 0%, 42.7%)
CIE-LABlab(37.57, 38.23, -35.29)
CIE-LCHlch(37.57, 52.02, 317.29°)
OKLaboklab(47.79% 0.0944 -0.0986)
OKLCHoklch(47.79% 0.136 313.7)
XYZxyz(14.8235, 9.8494, 28.3088)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784192 #5B9241
analogous
#504192 #784192 #924184
triadic
#784192 #927841 #419278
tetradic
#784192 #925041 #5B9241 #418492
square
#784192 #925041 #5B9241 #418492
split-complementary
#784192 #849241 #419250
monochromatic
#321B3D #552E68 #784192 #985AB6 #B385C9

Accessibility & contrast

On white

7.07
#784192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#784192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784192
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784192#FFFFFF#000000##FFFFFF
##7841921.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5595
Deuteranopia (green-blind)
#3F5A90
Tritanopia (blue-blind)
#764E63
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #784192;
/* rgb */ color: rgb(120, 65, 146);
/* oklch */ color: oklch(47.8% 0.136 313.7);
Tailwind
colors: {
  custom: {
    50: '#a178b2',
    500: '#784192',
    950: '#000000',
  },
}
SCSS
$custom: #784192;
$custom-light: #a178b2;
$custom-dark: #000000;
JSON
{
  "hex": "#784192",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 146
  },
  "hsl": {
    "h": 280.741,
    "s": 38.389,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4779,
    "c": 0.13647,
    "h": 313.7
  },
  "luminance": 0.09849
}

Semantic roles & 50–950 ramp

primary
#784192
secondary
#8DB37C
accent
#CE597F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784192

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

Preview Lab → · Contrast checker → · Palette generator →

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