#782386#782386

#782386 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.168 H 321.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#782386
RGBrgb(120, 35, 134)
HSLhsl(292, 59%, 33%)
HSVhsv(292, 74%, 53%)
CMYKcmyk(10.4%, 73.9%, 0%, 47.5%)
CIE-LABlab(31.62, 50.03, -37.39)
CIE-LCHlch(31.62, 62.46, 323.23°)
OKLaboklab(43.24% 0.132 -0.1045)
OKLCHoklch(43.24% 0.168 321.6)
XYZxyz(12.6494, 6.9171, 23.2185)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782386 #318623
analogous
#462386 #782386 #862362
triadic
#782386 #867823 #238678
tetradic
#782386 #864623 #318623 #236286
square
#782386 #864623 #318623 #236286
split-complementary
#782386 #628623 #238646
monochromatic
#210A25 #4D1655 #782386 #A330B7 #C052D2

Accessibility & contrast

On white

8.81
#782386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#782386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782386
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782386#FFFFFF#000000##FFFFFF
##7823861.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#304E84
Tritanopia (blue-blind)
#793552
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782386;
/* rgb */ color: rgb(120, 35, 134);
/* oklch */ color: oklch(43.2% 0.168 321.6);
Tailwind
colors: {
  custom: {
    50: '#a267aa',
    500: '#782386',
    950: '#000000',
  },
}
SCSS
$custom: #782386;
$custom-light: #a267aa;
$custom-dark: #000000;
JSON
{
  "hex": "#782386",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 291.515,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4324,
    "c": 0.16834,
    "h": 321.6
  },
  "luminance": 0.06916
}

Semantic roles & 50–950 ramp

primary
#782386
secondary
#5EB54F
accent
#E2465C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #782386

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

Preview Lab → · Contrast checker → · Palette generator →

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