#782182#782182

#782182 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.167 H 323.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#782182
RGBrgb(120, 33, 130)
HSLhsl(294, 60%, 32%)
HSVhsv(294, 75%, 51%)
CMYKcmyk(7.7%, 74.6%, 0%, 49%)
CIE-LABlab(31.10, 50.02, -35.72)
CIE-LCHlch(31.10, 61.47, 324.47°)
OKLaboklab(42.79% 0.1342 -0.0997)
OKLCHoklch(42.79% 0.167 323.4)
XYZxyz(12.3185, 6.6932, 21.7578)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782182 #2B8221
analogous
#472182 #782182 #82215C
triadic
#782182 #827821 #218278
tetradic
#782182 #824721 #2B8221 #215C82
square
#782182 #824721 #2B8221 #215C82
split-complementary
#782182 #5C8221 #218247
monochromatic
#1E0820 #4B1551 #782182 #A52DB3 #C44CD2

Accessibility & contrast

On white

8.98
#782182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#782182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782182
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782182#FFFFFF#000000##FFFFFF
##7821821.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#314D80
Tritanopia (blue-blind)
#7A3250
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #782182;
/* rgb */ color: rgb(120, 33, 130);
/* oklch */ color: oklch(42.8% 0.167 323.4);
Tailwind
colors: {
  custom: {
    50: '#a266a7',
    500: '#782182',
    950: '#000000',
  },
}
SCSS
$custom: #782182;
$custom-light: #a266a7;
$custom-dark: #000000;
JSON
{
  "hex": "#782182",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 293.814,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42788,
    "c": 0.16718,
    "h": 323.4
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#782182
secondary
#55B44A
accent
#E34555
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #782182

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

Preview Lab → · Contrast checker → · Palette generator →

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