#782086#782086

#782086 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.172 H 321.8°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#782086
RGBrgb(120, 32, 134)
HSLhsl(292, 61%, 33%)
HSVhsv(292, 76%, 53%)
CMYKcmyk(10.4%, 76.1%, 0%, 47.5%)
CIE-LABlab(31.23, 51.15, -38.01)
CIE-LCHlch(31.23, 63.73, 323.38°)
OKLaboklab(42.96% 0.135 -0.1063)
OKLCHoklch(42.96% 0.172 321.8)
XYZxyz(12.5649, 6.7480, 23.1903)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782086 #2E8620
analogous
#452086 #782086 #862061
triadic
#782086 #867820 #208678
tetradic
#782086 #864520 #2E8620 #206186
square
#782086 #864520 #2E8620 #206186
split-complementary
#782086 #618620 #208645
monochromatic
#200823 #4C1455 #782086 #A42CB7 #C24CD4

Accessibility & contrast

On white

8.94
#782086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#782086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782086
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782086#FFFFFF#000000##FFFFFF
##7820861.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#2E4D84
Tritanopia (blue-blind)
#793451
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #782086;
/* rgb */ color: rgb(120, 32, 134);
/* oklch */ color: oklch(43.0% 0.172 321.8);
Tailwind
colors: {
  custom: {
    50: '#a266aa',
    500: '#782086',
    950: '#000000',
  },
}
SCSS
$custom: #782086;
$custom-light: #a266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#782086",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 291.765,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42961,
    "c": 0.17183,
    "h": 321.8
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#782086
secondary
#5AB74B
accent
#E54359
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #782086

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

Preview Lab → · Contrast checker → · Palette generator →

#782086 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva