#782393#782393

#782393 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.180 H 316.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#782393
RGBrgb(120, 35, 147)
HSLhsl(286, 62%, 36%)
HSVhsv(286, 76%, 58%)
CMYKcmyk(18.4%, 76.2%, 0%, 42.4%)
CIE-LABlab(32.49, 52.61, -44.03)
CIE-LCHlch(32.49, 68.60, 320.08°)
OKLaboklab(44.13% 0.1307 -0.124)
OKLCHoklch(44.13% 0.18 316.5)
XYZxyz(13.6124, 7.3023, 28.2905)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782393 #3E9323
analogous
#402393 #782393 #932376
triadic
#782393 #937823 #239378
tetradic
#782393 #934023 #3E9323 #237693
square
#782393 #934023 #3E9323 #237693
split-complementary
#782393 #769323 #239340
monochromatic
#270B30 #501762 #782393 #A02FC4 #B959D7

Accessibility & contrast

On white

8.54
#782393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#782393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782393
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782393#FFFFFF#000000##FFFFFF
##7823931.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#234F91
Tritanopia (blue-blind)
#763B5A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782393;
/* rgb */ color: rgb(120, 35, 147);
/* oklch */ color: oklch(44.1% 0.180 316.5);
Tailwind
colors: {
  custom: {
    50: '#a367b3',
    500: '#782393',
    950: '#000000',
  },
}
SCSS
$custom: #782393;
$custom-light: #a367b3;
$custom-dark: #000000;
JSON
{
  "hex": "#782393",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 285.536,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44134,
    "c": 0.18015,
    "h": 316.5
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#782393
secondary
#6FBC56
accent
#E5436A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #782393

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

Preview Lab → · Contrast checker → · Palette generator →

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