#782486#782486

#782486 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.167 H 321.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#782486
RGBrgb(120, 36, 134)
HSLhsl(291, 58%, 33%)
HSVhsv(291, 73%, 53%)
CMYKcmyk(10.4%, 73.1%, 0%, 47.5%)
CIE-LABlab(31.75, 49.64, -37.17)
CIE-LCHlch(31.75, 62.02, 323.18°)
OKLaboklab(43.34% 0.1309 -0.1039)
OKLCHoklch(43.34% 0.167 321.6)
XYZxyz(12.6792, 6.9767, 23.2284)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782486 #328624
analogous
#472486 #782486 #862463
triadic
#782486 #867824 #248678
tetradic
#782486 #864724 #328624 #246386
square
#782486 #864724 #328624 #246386
split-complementary
#782486 #638624 #248647
monochromatic
#220A26 #4D1756 #782486 #A331B6 #BF53D1

Accessibility & contrast

On white

8.77
#782486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#782486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782486
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782486#FFFFFF#000000##FFFFFF
##7824861.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782486;
/* rgb */ color: rgb(120, 36, 134);
/* oklch */ color: oklch(43.3% 0.167 321.6);
Tailwind
colors: {
  custom: {
    50: '#a267aa',
    500: '#782486',
    950: '#000000',
  },
}
SCSS
$custom: #782486;
$custom-light: #a267aa;
$custom-dark: #000000;
JSON
{
  "hex": "#782486",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 291.429,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43337,
    "c": 0.16714,
    "h": 321.6
  },
  "luminance": 0.06976
}

Semantic roles & 50–950 ramp

primary
#782486
secondary
#5FB551
accent
#E1475D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #782486

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

Preview Lab → · Contrast checker → · Palette generator →

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