#782884#782884

#782884 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.160 H 322.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#782884
RGBrgb(120, 40, 132)
HSLhsl(292, 53%, 34%)
HSVhsv(292, 70%, 52%)
CMYKcmyk(9.1%, 69.7%, 0%, 48.2%)
CIE-LABlab(32.21, 47.62, -35.20)
CIE-LCHlch(32.21, 59.22, 323.53°)
OKLaboklab(43.62% 0.1266 -0.0982)
OKLCHoklch(43.62% 0.16 322.2)
XYZxyz(12.6689, 7.1773, 22.5434)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782884 #348428
analogous
#4A2884 #782884 #842862
triadic
#782884 #847828 #288478
tetradic
#782884 #844A28 #348428 #286284
square
#782884 #844A28 #348428 #286284
split-complementary
#782884 #628428 #28844A
monochromatic
#230C26 #4D1A55 #782884 #A336B3 #BE5ACD

Accessibility & contrast

On white

8.62
#782884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#782884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782884
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782884#FFFFFF#000000##FFFFFF
##7828841.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4687
Deuteranopia (green-blind)
#344F82
Tritanopia (blue-blind)
#7A3853
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782884;
/* rgb */ color: rgb(120, 40, 132);
/* oklch */ color: oklch(43.6% 0.160 322.2);
Tailwind
colors: {
  custom: {
    50: '#a269a8',
    500: '#782884',
    950: '#000000',
  },
}
SCSS
$custom: #782884;
$custom-light: #a269a8;
$custom-dark: #000000;
JSON
{
  "hex": "#782884",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 292.174,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43622,
    "c": 0.1602,
    "h": 322.2
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#782884
secondary
#62B256
accent
#DD4B5E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782884

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

Preview Lab → · Contrast checker → · Palette generator →

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