#782089#782089

#782089 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.174 H 320.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#782089
RGBrgb(120, 32, 137)
HSLhsl(290, 62%, 33%)
HSVhsv(290, 77%, 54%)
CMYKcmyk(12.4%, 76.6%, 0%, 46.3%)
CIE-LABlab(31.42, 51.72, -39.56)
CIE-LCHlch(31.42, 65.12, 322.59°)
OKLaboklab(43.17% 0.1347 -0.1109)
OKLCHoklch(43.17% 0.174 320.5)
XYZxyz(12.7771, 6.8329, 24.3079)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782089 #318920
analogous
#442089 #782089 #892065
triadic
#782089 #897820 #208978
tetradic
#782089 #894420 #318920 #206589
square
#782089 #894420 #318920 #206589
split-complementary
#782089 #658920 #208944
monochromatic
#210926 #4D1457 #782089 #A32CBB #C04ED6

Accessibility & contrast

On white

8.87
#782089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#782089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782089
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782089#FFFFFF#000000##FFFFFF
##7820891.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#2B4D87
Tritanopia (blue-blind)
#793553
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782089;
/* rgb */ color: rgb(120, 32, 137);
/* oklch */ color: oklch(43.2% 0.174 320.5);
Tailwind
colors: {
  custom: {
    50: '#a266ac',
    500: '#782089',
    950: '#000000',
  },
}
SCSS
$custom: #782089;
$custom-light: #a266ac;
$custom-dark: #000000;
JSON
{
  "hex": "#782089",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 290.286,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43165,
    "c": 0.17446,
    "h": 320.5
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#782089
secondary
#5EB94C
accent
#E5435D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #782089

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

Preview Lab → · Contrast checker → · Palette generator →

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