#782099#782099

#782099 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.189 H 314.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#782099
RGBrgb(120, 32, 153)
HSLhsl(284, 65%, 36%)
HSVhsv(284, 79%, 60%)
CMYKcmyk(21.6%, 79.1%, 0%, 40%)
CIE-LABlab(32.54, 54.91, -47.61)
CIE-LCHlch(32.54, 72.67, 319.07°)
OKLaboklab(44.31% 0.1325 -0.1345)
OKLCHoklch(44.31% 0.189 314.6)
XYZxyz(14.0110, 7.3265, 30.8069)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782099 #419920
analogous
#3C2099 #782099 #99207E
triadic
#782099 #997820 #209978
tetradic
#782099 #993C20 #419920 #207E99
square
#782099 #993C20 #419920 #207E99
split-complementary
#782099 #7E9920 #20993C
monochromatic
#290B34 #501566 #782099 #A02BCC #B857DC

Accessibility & contrast

On white

8.52
#782099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782099
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782099#FFFFFF#000000##FFFFFF
##7820991.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#174F96
Tritanopia (blue-blind)
#753C5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782099;
/* rgb */ color: rgb(120, 32, 153);
/* oklch */ color: oklch(44.3% 0.189 314.6);
Tailwind
colors: {
  custom: {
    50: '#a366b8',
    500: '#782099',
    950: '#000000',
  },
}
SCSS
$custom: #782099;
$custom-light: #a366b8;
$custom-dark: #000000;
JSON
{
  "hex": "#782099",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 283.636,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44308,
    "c": 0.18877,
    "h": 314.6
  },
  "luminance": 0.07326
}

Semantic roles & 50–950 ramp

primary
#782099
secondary
#72C055
accent
#E83F6E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #782099

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

Preview Lab → · Contrast checker → · Palette generator →

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