#782396#782396

#782396 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.183 H 315.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#782396
RGBrgb(120, 35, 150)
HSLhsl(284, 62%, 36%)
HSVhsv(284, 77%, 59%)
CMYKcmyk(20%, 76.7%, 0%, 41.2%)
CIE-LABlab(32.70, 53.22, -45.52)
CIE-LCHlch(32.70, 70.04, 319.46°)
OKLaboklab(44.35% 0.1303 -0.1284)
OKLCHoklch(44.35% 0.183 315.4)
XYZxyz(13.8509, 7.3977, 29.5465)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782396 #419623
analogous
#3F2396 #782396 #96237B
triadic
#782396 #967823 #239678
tetradic
#782396 #963F23 #419623 #237B96
square
#782396 #963F23 #419623 #237B96
split-complementary
#782396 #7B9623 #23963F
monochromatic
#290C33 #501764 #782396 #A02FC8 #B85BD9

Accessibility & contrast

On white

8.47
#782396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#782396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782396
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782396#FFFFFF#000000##FFFFFF
##7823961.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#1F4F94
Tritanopia (blue-blind)
#763D5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782396;
/* rgb */ color: rgb(120, 35, 150);
/* oklch */ color: oklch(44.4% 0.183 315.4);
Tailwind
colors: {
  custom: {
    50: '#a368b5',
    500: '#782396',
    950: '#000000',
  },
}
SCSS
$custom: #782396;
$custom-light: #a368b5;
$custom-dark: #000000;
JSON
{
  "hex": "#782396",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 284.348,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4435,
    "c": 0.1829,
    "h": 315.4
  },
  "luminance": 0.07397
}

Semantic roles & 50–950 ramp

primary
#782396
secondary
#72BD58
accent
#E5436D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #782396

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

Preview Lab → · Contrast checker → · Palette generator →

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