#782397#782397

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

Color values

HEX#782397
RGBrgb(120, 35, 151)
HSLhsl(284, 62%, 36%)
HSVhsv(284, 77%, 59%)
CMYKcmyk(20.5%, 76.8%, 0%, 40.8%)
CIE-LABlab(32.77, 53.43, -46.02)
CIE-LCHlch(32.77, 70.52, 319.26°)
OKLaboklab(44.42% 0.1301 -0.1298)
OKLCHoklch(44.42% 0.184 315.1)
XYZxyz(13.9318, 7.4300, 29.9724)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782397 #429723
analogous
#3E2397 #782397 #97237C
triadic
#782397 #977823 #239778
tetradic
#782397 #973E23 #429723 #237C97
square
#782397 #973E23 #429723 #237C97
split-complementary
#782397 #7C9723 #23973E
monochromatic
#290C34 #511765 #782397 #9F2FC9 #B75BD9

Accessibility & contrast

On white

8.45
#782397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#782397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782397
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782397#FFFFFF#000000##FFFFFF
##7823971.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#1E4F95
Tritanopia (blue-blind)
#753D5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782397;
/* rgb */ color: rgb(120, 35, 151);
/* oklch */ color: oklch(44.4% 0.184 315.1);
Tailwind
colors: {
  custom: {
    50: '#a368b6',
    500: '#782397',
    950: '#000000',
  },
}
SCSS
$custom: #782397;
$custom-light: #a368b6;
$custom-dark: #000000;
JSON
{
  "hex": "#782397",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 283.966,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44422,
    "c": 0.18382,
    "h": 315.1
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#782397
secondary
#73BE58
accent
#E5426E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #782397

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

Preview Lab → · Contrast checker → · Palette generator →

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