#782186#782186

#782186 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.171 H 321.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#782186
RGBrgb(120, 33, 134)
HSLhsl(292, 60%, 33%)
HSVhsv(292, 75%, 53%)
CMYKcmyk(10.4%, 75.4%, 0%, 47.5%)
CIE-LABlab(31.35, 50.78, -37.81)
CIE-LCHlch(31.35, 63.31, 323.33°)
OKLaboklab(43.05% 0.134 -0.1057)
OKLCHoklch(43.05% 0.171 321.7)
XYZxyz(12.5922, 6.8027, 23.1994)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782186 #2F8621
analogous
#452186 #782186 #862161
triadic
#782186 #867821 #218678
tetradic
#782186 #864521 #2F8621 #216186
square
#782186 #864521 #2F8621 #216186
split-complementary
#782186 #618621 #218645
monochromatic
#200924 #4C1555 #782186 #A42DB7 #C14ED3

Accessibility & contrast

On white

8.90
#782186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#782186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782186
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782186#FFFFFF#000000##FFFFFF
##7821861.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#2E4D84
Tritanopia (blue-blind)
#793452
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782186;
/* rgb */ color: rgb(120, 33, 134);
/* oklch */ color: oklch(43.1% 0.171 321.7);
Tailwind
colors: {
  custom: {
    50: '#a266aa',
    500: '#782186',
    950: '#000000',
  },
}
SCSS
$custom: #782186;
$custom-light: #a266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#782186",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 291.683,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43052,
    "c": 0.17069,
    "h": 321.7
  },
  "luminance": 0.06802
}

Semantic roles & 50–950 ramp

primary
#782186
secondary
#5BB74C
accent
#E4445A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #782186

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

Preview Lab → · Contrast checker → · Palette generator →

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