#782C81#782C81

#782C81 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.152 H 323.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#782C81
RGBrgb(120, 44, 129)
HSLhsl(294, 49%, 34%)
HSVhsv(294, 66%, 51%)
CMYKcmyk(7%, 65.9%, 0%, 49.4%)
CIE-LABlab(32.66, 45.27, -32.62)
CIE-LCHlch(32.66, 55.80, 324.23°)
OKLaboklab(43.89% 0.1218 -0.0907)
OKLCHoklch(43.89% 0.152 323.3)
XYZxyz(12.6085, 7.3801, 21.5250)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782C81 #35812C
analogous
#4E2C81 #782C81 #812C60
triadic
#782C81 #81782C #2C8178
tetradic
#782C81 #814E2C #35812C #2C6081
square
#782C81 #814E2C #35812C #2C6081
split-complementary
#782C81 #60812C #2C814E
monochromatic
#230D26 #4E1C53 #782C81 #A23CAF #BD5FC8

Accessibility & contrast

On white

8.48
#782C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#782C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782C81
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782C81#FFFFFF#000000##FFFFFF
##782C811.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4784
Deuteranopia (green-blind)
#39507F
Tritanopia (blue-blind)
#7A3952
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782c81;
/* rgb */ color: rgb(120, 44, 129);
/* oklch */ color: oklch(43.9% 0.152 323.3);
Tailwind
colors: {
  custom: {
    50: '#a26ba6',
    500: '#782c81',
    950: '#000000',
  },
}
SCSS
$custom: #782c81;
$custom-light: #a26ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#782c81",
  "rgb": {
    "r": 120,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 293.647,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43888,
    "c": 0.15184,
    "h": 323.3
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

primary
#782C81
secondary
#63AF5A
accent
#D94F5E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #782C81

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

Preview Lab → · Contrast checker → · Palette generator →

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