#782C85#782C85

#782C85 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.156 H 321.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#782C85
RGBrgb(120, 44, 133)
HSLhsl(291, 50%, 35%)
HSVhsv(291, 67%, 52%)
CMYKcmyk(9.8%, 66.9%, 0%, 47.8%)
CIE-LABlab(32.89, 46.07, -34.73)
CIE-LCHlch(32.89, 57.69, 322.99°)
OKLaboklab(44.14% 0.1218 -0.0968)
OKLCHoklch(44.14% 0.156 321.5)
XYZxyz(12.8796, 7.4886, 22.9528)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782C85 #39852C
analogous
#4C2C85 #782C85 #852C66
triadic
#782C85 #85782C #2C8578
tetradic
#782C85 #854C2C #39852C #2C6685
square
#782C85 #854C2C #39852C #2C6685
split-complementary
#782C85 #66852C #2C854C
monochromatic
#250E29 #4F1D57 #782C85 #A13BB3 #BB61CB

Accessibility & contrast

On white

8.41
#782C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#782C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782C85
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782C85#FFFFFF#000000##FFFFFF
##782C851.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144888
Deuteranopia (green-blind)
#365083
Tritanopia (blue-blind)
#793B54
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782c85;
/* rgb */ color: rgb(120, 44, 133);
/* oklch */ color: oklch(44.1% 0.156 321.5);
Tailwind
colors: {
  custom: {
    50: '#a26ba9',
    500: '#782c85',
    950: '#000000',
  },
}
SCSS
$custom: #782c85;
$custom-light: #a26ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#782c85",
  "rgb": {
    "r": 120,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 291.236,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44136,
    "c": 0.15564,
    "h": 321.5
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#782C85
secondary
#68B15C
accent
#DA4E62
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782C85

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

Preview Lab → · Contrast checker → · Palette generator →

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