#782D89#782D89

#782D89 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.158 H 319.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#782D89
RGBrgb(120, 45, 137)
HSLhsl(289, 51%, 36%)
HSVhsv(289, 67%, 54%)
CMYKcmyk(12.4%, 67.2%, 0%, 46.3%)
CIE-LABlab(33.30, 46.42, -36.56)
CIE-LCHlch(33.30, 59.09, 321.78°)
OKLaboklab(44.51% 0.1206 -0.1022)
OKLCHoklch(44.51% 0.158 319.7)
XYZxyz(13.1989, 7.6766, 24.4485)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782D89 #3E892D
analogous
#4A2D89 #782D89 #892D6C
triadic
#782D89 #89782D #2D8978
tetradic
#782D89 #894A2D #3E892D #2D6C89
square
#782D89 #894A2D #3E892D #2D6C89
split-complementary
#782D89 #6C892D #2D894A
monochromatic
#270F2D #501E5B #782D89 #A03CB7 #B964CC

Accessibility & contrast

On white

8.28
#782D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#782D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782D89
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782D89#FFFFFF#000000##FFFFFF
##782D891.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F498C
Deuteranopia (green-blind)
#345187
Tritanopia (blue-blind)
#783D57
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782d89;
/* rgb */ color: rgb(120, 45, 137);
/* oklch */ color: oklch(44.5% 0.158 319.7);
Tailwind
colors: {
  custom: {
    50: '#a26cac',
    500: '#782d89',
    950: '#000000',
  },
}
SCSS
$custom: #782d89;
$custom-light: #a26cac;
$custom-dark: #000000;
JSON
{
  "hex": "#782d89",
  "rgb": {
    "r": 120,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 288.913,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44507,
    "c": 0.15807,
    "h": 319.7
  },
  "luminance": 0.07676
}

Semantic roles & 50–950 ramp

primary
#782D89
secondary
#6FB35F
accent
#DA4E68
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782D89

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

Preview Lab → · Contrast checker → · Palette generator →

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