#782882#782882

#782882 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.158 H 323.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#782882
RGBrgb(120, 40, 130)
HSLhsl(293, 53%, 33%)
HSVhsv(293, 69%, 51%)
CMYKcmyk(7.7%, 69.2%, 0%, 49%)
CIE-LABlab(32.09, 47.23, -34.15)
CIE-LCHlch(32.09, 58.28, 324.13°)
OKLaboklab(43.5% 0.1266 -0.0951)
OKLCHoklch(43.5% 0.158 323.1)
XYZxyz(12.5334, 7.1231, 21.8295)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782882 #328228
analogous
#4B2882 #782882 #82285F
triadic
#782882 #827828 #288278
tetradic
#782882 #824B28 #328228 #285F82
square
#782882 #824B28 #328228 #285F82
split-complementary
#782882 #5F8228 #28824B
monochromatic
#220B24 #4D1A53 #782882 #A336B1 #BF59CC

Accessibility & contrast

On white

8.66
#782882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#782882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782882
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782882#FFFFFF#000000##FFFFFF
##7828821.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104585
Deuteranopia (green-blind)
#364F80
Tritanopia (blue-blind)
#7A3752
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782882;
/* rgb */ color: rgb(120, 40, 130);
/* oklch */ color: oklch(43.5% 0.158 323.1);
Tailwind
colors: {
  custom: {
    50: '#a269a7',
    500: '#782882',
    950: '#000000',
  },
}
SCSS
$custom: #782882;
$custom-light: #a269a7;
$custom-dark: #000000;
JSON
{
  "hex": "#782882",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 293.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43495,
    "c": 0.15835,
    "h": 323.1
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#782882
secondary
#5FB155
accent
#DC4B5C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #782882

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

Preview Lab → · Contrast checker → · Palette generator →

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