#782E86#782E86

#782E86 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.4% C 0.154 H 320.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#782E86
RGBrgb(120, 46, 134)
HSLhsl(290, 49%, 35%)
HSVhsv(290, 66%, 53%)
CMYKcmyk(10.4%, 65.7%, 0%, 47.5%)
CIE-LABlab(33.28, 45.35, -34.73)
CIE-LCHlch(33.28, 57.12, 322.56°)
OKLaboklab(44.44% 0.1194 -0.0969)
OKLCHoklch(44.44% 0.154 320.9)
XYZxyz(13.0253, 7.6689, 23.3438)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782E86 #3C862E
analogous
#4C2E86 #782E86 #862E68
triadic
#782E86 #86782E #2E8678
tetradic
#782E86 #864C2E #3C862E #2E6886
square
#782E86 #864C2E #3C862E #2E6886
split-complementary
#782E86 #68862E #2E864C
monochromatic
#260F2B #4F1E58 #782E86 #A13EB4 #BA64CA

Accessibility & contrast

On white

8.29
#782E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#782E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782E86
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782E86#FFFFFF#000000##FFFFFF
##782E861.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174989
Deuteranopia (green-blind)
#375184
Tritanopia (blue-blind)
#793C56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782e86;
/* rgb */ color: rgb(120, 46, 134);
/* oklch */ color: oklch(44.4% 0.154 320.9);
Tailwind
colors: {
  custom: {
    50: '#a26caa',
    500: '#782e86',
    950: '#000000',
  },
}
SCSS
$custom: #782e86;
$custom-light: #a26caa;
$custom-dark: #000000;
JSON
{
  "hex": "#782e86",
  "rgb": {
    "r": 120,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 290.455,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44437,
    "c": 0.15373,
    "h": 320.9
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#782E86
secondary
#6CB15F
accent
#D84F65
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782E86

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

Preview Lab → · Contrast checker → · Palette generator →

#782E86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva