#782A86#782A86

#782A86 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.159 H 321.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#782A86
RGBrgb(120, 42, 134)
HSLhsl(291, 52%, 35%)
HSVhsv(291, 69%, 53%)
CMYKcmyk(10.4%, 68.7%, 0%, 47.5%)
CIE-LABlab(32.64, 47.15, -35.76)
CIE-LCHlch(32.64, 59.18, 322.82°)
OKLaboklab(43.97% 0.1242 -0.0998)
OKLCHoklch(43.97% 0.159 321.2)
XYZxyz(12.8763, 7.3709, 23.2941)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782A86 #38862A
analogous
#4A2A86 #782A86 #862A66
triadic
#782A86 #86782A #2A8678
tetradic
#782A86 #864A2A #38862A #2A6686
square
#782A86 #864A2A #38862A #2A6686
split-complementary
#782A86 #66862A #2A864A
monochromatic
#250D29 #4E1B57 #782A86 #A239B5 #BC5ECD

Accessibility & contrast

On white

8.49
#782A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#782A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782A86
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782A86#FFFFFF#000000##FFFFFF
##782A861.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4789
Deuteranopia (green-blind)
#345084
Tritanopia (blue-blind)
#793A54
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782a86;
/* rgb */ color: rgb(120, 42, 134);
/* oklch */ color: oklch(44.0% 0.159 321.2);
Tailwind
colors: {
  custom: {
    50: '#a26aaa',
    500: '#782a86',
    950: '#000000',
  },
}
SCSS
$custom: #782a86;
$custom-light: #a26aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#782a86",
  "rgb": {
    "r": 120,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 290.87,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4397,
    "c": 0.15936,
    "h": 321.2
  },
  "luminance": 0.0737
}

Semantic roles & 50–950 ramp

primary
#782A86
secondary
#67B25A
accent
#DC4C62
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782A86

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

Preview Lab → · Contrast checker → · Palette generator →

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