#782CB6#782CB6

#782CB6 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.204 H 304.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#782CB6
RGBrgb(120, 44, 182)
HSLhsl(273, 61%, 44%)
HSVhsv(273, 76%, 71%)
CMYKcmyk(34.1%, 75.8%, 0%, 28.6%)
CIE-LABlab(36.31, 56.71, -58.91)
CIE-LCHlch(36.31, 81.77, 313.91°)
OKLaboklab(47.65% 0.1159 -0.1678)
OKLCHoklch(47.65% 0.204 304.6)
XYZxyz(17.0880, 9.1719, 45.1170)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782CB6 #6AB62C
analogous
#332CB6 #782CB6 #B62CAF
triadic
#782CB6 #B6782C #2CB678
tetradic
#782CB6 #B6332C #6AB62C #2CAFB6
square
#782CB6 #B6332C #6AB62C #2CAFB6
split-complementary
#782CB6 #AFB62C #2CB633
monochromatic
#371453 #582085 #782CB6 #974CD4 #B37DE0

Accessibility & contrast

On white

7.41
#782CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#782CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782CB6
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782CB6#FFFFFF#000000##FFFFFF
##782CB61.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#6C4F6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #782cb6;
/* rgb */ color: rgb(120, 44, 182);
/* oklch */ color: oklch(47.7% 0.204 304.6);
Tailwind
colors: {
  custom: {
    50: '#a56dcd',
    500: '#782cb6',
    950: '#000000',
  },
}
SCSS
$custom: #782cb6;
$custom-light: #a56dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#782cb6",
  "rgb": {
    "r": 120,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 273.043,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47654,
    "c": 0.20393,
    "h": 304.6
  },
  "luminance": 0.09172
}

Semantic roles & 50–950 ramp

primary
#782CB6
secondary
#9BC876
accent
#E4448C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #782CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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