#782F92#782F92

#782F92 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.3% C 0.164 H 315.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#782F92
RGBrgb(120, 47, 146)
HSLhsl(284, 51%, 38%)
HSVhsv(284, 68%, 57%)
CMYKcmyk(17.8%, 67.8%, 0%, 42.7%)
CIE-LABlab(34.19, 47.39, -40.67)
CIE-LCHlch(34.19, 62.45, 319.36°)
OKLaboklab(45.33% 0.1179 -0.1142)
OKLCHoklch(45.33% 0.164 315.9)
XYZxyz(13.9497, 8.1019, 28.0176)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782F92 #49922F
analogous
#462F92 #782F92 #922F7B
triadic
#782F92 #92782F #2F9278
tetradic
#782F92 #92462F #49922F #2F7B92
square
#782F92 #92462F #49922F #2F7B92
split-complementary
#782F92 #7B922F #2F9246
monochromatic
#2C1135 #522064 #782F92 #9E3EC0 #B56CD0

Accessibility & contrast

On white

8.01
#782F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#782F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782F92
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782F92#FFFFFF#000000##FFFFFF
##782F921.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782f92;
/* rgb */ color: rgb(120, 47, 146);
/* oklch */ color: oklch(45.3% 0.164 315.9);
Tailwind
colors: {
  custom: {
    50: '#a26db2',
    500: '#782f92',
    950: '#000000',
  },
}
SCSS
$custom: #782f92;
$custom-light: #a26db2;
$custom-dark: #000000;
JSON
{
  "hex": "#782f92",
  "rgb": {
    "r": 120,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 284.242,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45333,
    "c": 0.16417,
    "h": 315.9
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#782F92
secondary
#7BB766
accent
#DB4D72
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782F92

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

Preview Lab → · Contrast checker → · Palette generator →

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