#782097#782097

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

Color values

HEX#782097
RGBrgb(120, 32, 151)
HSLhsl(284, 65%, 36%)
HSVhsv(284, 79%, 59%)
CMYKcmyk(20.5%, 78.8%, 0%, 40.8%)
CIE-LABlab(32.39, 54.50, -46.62)
CIE-LCHlch(32.39, 71.72, 319.45°)
OKLaboklab(44.16% 0.1328 -0.1316)
OKLCHoklch(44.16% 0.187 315.3)
XYZxyz(13.8472, 7.2610, 29.9442)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782097 #3F9720
analogous
#3D2097 #782097 #97207A
triadic
#782097 #977820 #209778
tetradic
#782097 #973D20 #3F9720 #207A97
square
#782097 #973D20 #3F9720 #207A97
split-complementary
#782097 #7A9720 #20973D
monochromatic
#280B32 #501564 #782097 #A02BC9 #B956DB

Accessibility & contrast

On white

8.56
#782097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#782097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782097
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782097#FFFFFF#000000##FFFFFF
##7820971.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#1B4E94
Tritanopia (blue-blind)
#753B5B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782097;
/* rgb */ color: rgb(120, 32, 151);
/* oklch */ color: oklch(44.2% 0.187 315.3);
Tailwind
colors: {
  custom: {
    50: '#a366b6',
    500: '#782097',
    950: '#000000',
  },
}
SCSS
$custom: #782097;
$custom-light: #a366b6;
$custom-dark: #000000;
JSON
{
  "hex": "#782097",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 284.37,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44159,
    "c": 0.18696,
    "h": 315.3
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#782097
secondary
#70BF54
accent
#E8406C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #782097

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

Preview Lab → · Contrast checker → · Palette generator →

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