#782586#782586

#782586 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.166 H 321.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#782586
RGBrgb(120, 37, 134)
HSLhsl(291, 57%, 34%)
HSVhsv(291, 72%, 53%)
CMYKcmyk(10.4%, 72.4%, 0%, 47.5%)
CIE-LABlab(31.89, 49.25, -36.95)
CIE-LCHlch(31.89, 61.57, 323.12°)
OKLaboklab(43.44% 0.1299 -0.1033)
OKLCHoklch(43.44% 0.166 321.5)
XYZxyz(12.7099, 7.0381, 23.2387)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782586 #338625
analogous
#472586 #782586 #862563
triadic
#782586 #867825 #258678
tetradic
#782586 #864725 #338625 #256386
square
#782586 #864725 #338625 #256386
split-complementary
#782586 #638625 #258647
monochromatic
#220B26 #4D1856 #782586 #A332B6 #BE55D0

Accessibility & contrast

On white

8.72
#782586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#782586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782586
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782586#FFFFFF#000000##FFFFFF
##7825861.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#314E84
Tritanopia (blue-blind)
#793753
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782586;
/* rgb */ color: rgb(120, 37, 134);
/* oklch */ color: oklch(43.4% 0.166 321.5);
Tailwind
colors: {
  custom: {
    50: '#a268aa',
    500: '#782586',
    950: '#000000',
  },
}
SCSS
$custom: #782586;
$custom-light: #a268aa;
$custom-dark: #000000;
JSON
{
  "hex": "#782586",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 291.34,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43437,
    "c": 0.1659,
    "h": 321.5
  },
  "luminance": 0.07037
}

Semantic roles & 50–950 ramp

primary
#782586
secondary
#60B452
accent
#E0485E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782586

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

Preview Lab → · Contrast checker → · Palette generator →

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