#782192#782192

#782192 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.181 H 317.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#782192
RGBrgb(120, 33, 146)
HSLhsl(286, 63%, 35%)
HSVhsv(286, 77%, 57%)
CMYKcmyk(17.8%, 77.4%, 0%, 42.7%)
CIE-LABlab(32.16, 53.14, -43.93)
CIE-LCHlch(32.16, 68.95, 320.42°)
OKLaboklab(43.88% 0.1327 -0.1237)
OKLCHoklch(43.88% 0.181 317)
XYZxyz(13.4771, 7.1567, 27.8600)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782192 #3B9221
analogous
#402192 #782192 #922173
triadic
#782192 #927821 #219278
tetradic
#782192 #924021 #3B9221 #217392
square
#782192 #924021 #3B9221 #217392
split-complementary
#782192 #739221 #219240
monochromatic
#260A2E #4F1660 #782192 #A12CC4 #BA55D9

Accessibility & contrast

On white

8.64
#782192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#782192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782192
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782192#FFFFFF#000000##FFFFFF
##7821921.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#234E90
Tritanopia (blue-blind)
#773A59
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782192;
/* rgb */ color: rgb(120, 33, 146);
/* oklch */ color: oklch(43.9% 0.181 317.0);
Tailwind
colors: {
  custom: {
    50: '#a366b3',
    500: '#782192',
    950: '#000000',
  },
}
SCSS
$custom: #782192;
$custom-light: #a366b3;
$custom-dark: #000000;
JSON
{
  "hex": "#782192",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 286.195,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43883,
    "c": 0.18141,
    "h": 317
  },
  "luminance": 0.07156
}

Semantic roles & 50–950 ramp

primary
#782192
secondary
#6BBC53
accent
#E64267
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #782192

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

Preview Lab → · Contrast checker → · Palette generator →

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