#782394#782394

#782394 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.181 H 316.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#782394
RGBrgb(120, 35, 148)
HSLhsl(285, 62%, 36%)
HSVhsv(285, 76%, 58%)
CMYKcmyk(18.9%, 76.4%, 0%, 42%)
CIE-LABlab(32.55, 52.81, -44.53)
CIE-LCHlch(32.55, 69.08, 319.87°)
OKLaboklab(44.21% 0.1306 -0.1254)
OKLCHoklch(44.21% 0.181 316.1)
XYZxyz(13.6912, 7.3338, 28.7056)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782394 #3F9423
analogous
#3F2394 #782394 #942377
triadic
#782394 #947823 #239478
tetradic
#782394 #943F23 #3F9423 #237794
square
#782394 #943F23 #3F9423 #237794
split-complementary
#782394 #779423 #23943F
monochromatic
#280C31 #501763 #782394 #A02FC5 #B95AD8

Accessibility & contrast

On white

8.51
#782394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#782394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782394
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782394#FFFFFF#000000##FFFFFF
##7823941.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#224F92
Tritanopia (blue-blind)
#763C5A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782394;
/* rgb */ color: rgb(120, 35, 148);
/* oklch */ color: oklch(44.2% 0.181 316.1);
Tailwind
colors: {
  custom: {
    50: '#a367b4',
    500: '#782394',
    950: '#000000',
  },
}
SCSS
$custom: #782394;
$custom-light: #a367b4;
$custom-dark: #000000;
JSON
{
  "hex": "#782394",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 285.133,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44206,
    "c": 0.18106,
    "h": 316.1
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

primary
#782394
secondary
#70BC57
accent
#E5436B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #782394

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

Preview Lab → · Contrast checker → · Palette generator →

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