#782D90#782D90

#782D90 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.165 H 316.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#782D90
RGBrgb(120, 45, 144)
HSLhsl(285, 52%, 37%)
HSVhsv(285, 69%, 56%)
CMYKcmyk(16.7%, 68.7%, 0%, 43.5%)
CIE-LABlab(33.74, 47.87, -40.17)
CIE-LCHlch(33.74, 62.49, 320.00°)
OKLaboklab(44.97% 0.1204 -0.1127)
OKLCHoklch(44.97% 0.165 316.9)
XYZxyz(13.7174, 7.8840, 27.1793)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782D90 #45902D
analogous
#472D90 #782D90 #902D76
triadic
#782D90 #90782D #2D9078
tetradic
#782D90 #90472D #45902D #2D7690
square
#782D90 #90472D #45902D #2D7690
split-complementary
#782D90 #76902D #2D9047
monochromatic
#2A1033 #511E61 #782D90 #9F3CBF #B668D0

Accessibility & contrast

On white

8.15
#782D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#782D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782D90
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782D90#FFFFFF#000000##FFFFFF
##782D901.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#2F528E
Tritanopia (blue-blind)
#77405B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #782d90;
/* rgb */ color: rgb(120, 45, 144);
/* oklch */ color: oklch(45.0% 0.165 316.9);
Tailwind
colors: {
  custom: {
    50: '#a26cb1',
    500: '#782d90',
    950: '#000000',
  },
}
SCSS
$custom: #782d90;
$custom-light: #a26cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#782d90",
  "rgb": {
    "r": 120,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 285.455,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44965,
    "c": 0.16492,
    "h": 316.9
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#782D90
secondary
#77B662
accent
#DC4C6F
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782D90

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

Preview Lab → · Contrast checker → · Palette generator →

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