#782D92#782D92

#782D92 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.167 H 316.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#782D92
RGBrgb(120, 45, 146)
HSLhsl(285, 53%, 37%)
HSVhsv(285, 69%, 57%)
CMYKcmyk(17.8%, 69.2%, 0%, 42.7%)
CIE-LABlab(33.87, 48.29, -41.19)
CIE-LCHlch(33.87, 63.47, 319.54°)
OKLaboklab(45.1% 0.1203 -0.1157)
OKLCHoklch(45.1% 0.167 316.1)
XYZxyz(13.8716, 7.9457, 27.9915)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782D92 #47922D
analogous
#452D92 #782D92 #922D7A
triadic
#782D92 #92782D #2D9278
tetradic
#782D92 #92452D #47922D #2D7A92
square
#782D92 #92452D #47922D #2D7A92
split-complementary
#782D92 #7A922D #2D9245
monochromatic
#2B1034 #521F63 #782D92 #9E3BC1 #B669D1

Accessibility & contrast

On white

8.11
#782D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#782D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782D92
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782D92#FFFFFF#000000##FFFFFF
##782D921.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#2D5290
Tritanopia (blue-blind)
#76415C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #782d92;
/* rgb */ color: rgb(120, 45, 146);
/* oklch */ color: oklch(45.1% 0.167 316.1);
Tailwind
colors: {
  custom: {
    50: '#a26cb2',
    500: '#782d92',
    950: '#000000',
  },
}
SCSS
$custom: #782d92;
$custom-light: #a26cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#782d92",
  "rgb": {
    "r": 120,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 284.554,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.451,
    "c": 0.1669,
    "h": 316.1
  },
  "luminance": 0.07945
}

Semantic roles & 50–950 ramp

primary
#782D92
secondary
#79B763
accent
#DC4C71
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782D92

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

Preview Lab → · Contrast checker → · Palette generator →

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