#782A89#782A89

#782A89 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.162 H 319.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#782A89
RGBrgb(120, 42, 137)
HSLhsl(289, 53%, 35%)
HSVhsv(289, 69%, 54%)
CMYKcmyk(12.4%, 69.3%, 0%, 46.3%)
CIE-LABlab(32.82, 47.76, -37.32)
CIE-LCHlch(32.82, 60.61, 321.99°)
OKLaboklab(44.16% 0.1242 -0.1044)
OKLCHoklch(44.16% 0.162 319.9)
XYZxyz(13.0885, 7.4558, 24.4117)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782A89 #3B892A
analogous
#482A89 #782A89 #892A6B
triadic
#782A89 #89782A #2A8978
tetradic
#782A89 #89482A #3B892A #2A6B89
square
#782A89 #89482A #3B892A #2A6B89
split-complementary
#782A89 #6B892A #2A8948
monochromatic
#260D2B #4F1C5A #782A89 #A138B8 #BA5FCE

Accessibility & contrast

On white

8.43
#782A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#782A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782A89
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782A89#FFFFFF#000000##FFFFFF
##782A891.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06488C
Deuteranopia (green-blind)
#325087
Tritanopia (blue-blind)
#783B56
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782a89;
/* rgb */ color: rgb(120, 42, 137);
/* oklch */ color: oklch(44.2% 0.162 319.9);
Tailwind
colors: {
  custom: {
    50: '#a26aac',
    500: '#782a89',
    950: '#000000',
  },
}
SCSS
$custom: #782a89;
$custom-light: #a26aac;
$custom-dark: #000000;
JSON
{
  "hex": "#782a89",
  "rgb": {
    "r": 120,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 289.263,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44164,
    "c": 0.16221,
    "h": 319.9
  },
  "luminance": 0.07455
}

Semantic roles & 50–950 ramp

primary
#782A89
secondary
#6BB45B
accent
#DC4B65
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782A89

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

Preview Lab → · Contrast checker → · Palette generator →

#782A89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva