#782A90#782A90

#782A90 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.169 H 317.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#782A90
RGBrgb(120, 42, 144)
HSLhsl(286, 55%, 36%)
HSVhsv(286, 71%, 56%)
CMYKcmyk(16.7%, 70.8%, 0%, 43.5%)
CIE-LABlab(33.27, 49.19, -40.92)
CIE-LCHlch(33.27, 63.98, 320.24°)
OKLaboklab(44.63% 0.1238 -0.1149)
OKLCHoklch(44.63% 0.169 317.1)
XYZxyz(13.6070, 7.6632, 27.1425)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782A90 #42902A
analogous
#452A90 #782A90 #902A75
triadic
#782A90 #90782A #2A9078
tetradic
#782A90 #90452A #42902A #2A7590
square
#782A90 #90452A #42902A #2A7590
split-complementary
#782A90 #75902A #2A9045
monochromatic
#290E31 #511C61 #782A90 #9F38BF #B763D1

Accessibility & contrast

On white

8.29
#782A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#782A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782A90
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782A90#FFFFFF#000000##FFFFFF
##782A901.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#2C518E
Tritanopia (blue-blind)
#773E5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782a90;
/* rgb */ color: rgb(120, 42, 144);
/* oklch */ color: oklch(44.6% 0.169 317.1);
Tailwind
colors: {
  custom: {
    50: '#a26bb1',
    500: '#782a90',
    950: '#000000',
  },
}
SCSS
$custom: #782a90;
$custom-light: #a26bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#782a90",
  "rgb": {
    "r": 120,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 285.882,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44629,
    "c": 0.1689,
    "h": 317.1
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#782A90
secondary
#73B75E
accent
#DE4A6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782A90

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

Preview Lab → · Contrast checker → · Palette generator →

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