#782E92#782E92

#782E92 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.166 H 316.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#782E92
RGBrgb(120, 46, 146)
HSLhsl(284, 52%, 38%)
HSVhsv(284, 68%, 57%)
CMYKcmyk(17.8%, 68.5%, 0%, 42.7%)
CIE-LABlab(34.03, 47.84, -40.93)
CIE-LCHlch(34.03, 62.96, 319.45°)
OKLaboklab(45.22% 0.1191 -0.115)
OKLCHoklch(45.22% 0.166 316)
XYZxyz(13.9102, 8.0229, 28.0044)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782E92 #48922E
analogous
#462E92 #782E92 #922E7A
triadic
#782E92 #92782E #2E9278
tetradic
#782E92 #92462E #48922E #2E7A92
square
#782E92 #92462E #48922E #2E7A92
split-complementary
#782E92 #7A922E #2E9246
monochromatic
#2B1135 #521F63 #782E92 #9E3DC1 #B66AD0

Accessibility & contrast

On white

8.06
#782E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#782E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782E92
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782E92#FFFFFF#000000##FFFFFF
##782E921.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782e92;
/* rgb */ color: rgb(120, 46, 146);
/* oklch */ color: oklch(45.2% 0.166 316.0);
Tailwind
colors: {
  custom: {
    50: '#a26db2',
    500: '#782e92',
    950: '#000000',
  },
}
SCSS
$custom: #782e92;
$custom-light: #a26db2;
$custom-dark: #000000;
JSON
{
  "hex": "#782e92",
  "rgb": {
    "r": 120,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 284.4,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45215,
    "c": 0.16555,
    "h": 316
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#782E92
secondary
#7AB765
accent
#DC4C72
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782E92

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

Preview Lab → · Contrast checker → · Palette generator →

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