#782CC0#782CC0

#782CC0 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.214 H 302.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#782CC0
RGBrgb(120, 44, 192)
HSLhsl(271, 63%, 46%)
HSVhsv(271, 77%, 75%)
CMYKcmyk(37.5%, 77.1%, 0%, 24.7%)
CIE-LABlab(37.11, 59.03, -63.50)
CIE-LCHlch(37.11, 86.70, 312.91°)
OKLaboklab(48.47% 0.1136 -0.1812)
OKLCHoklch(48.47% 0.214 302.1)
XYZxyz(18.1585, 9.6001, 50.7553)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782CC0 #74C02C
analogous
#2E2CC0 #782CC0 #C02CBE
triadic
#782CC0 #C0782C #2CC078
tetradic
#782CC0 #C02E2C #74C02C #2CBEC0
square
#782CC0 #C02E2C #74C02C #2CBEC0
split-complementary
#782CC0 #BEC02C #2CC02E
monochromatic
#3A155C #59218E #782CC0 #9652D7 #B484E3

Accessibility & contrast

On white

7.19
#782CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#782CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782CC0
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782CC0#FFFFFF#000000##FFFFFF
##782CC01.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#685375
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #782cc0;
/* rgb */ color: rgb(120, 44, 192);
/* oklch */ color: oklch(48.5% 0.214 302.1);
Tailwind
colors: {
  custom: {
    50: '#a56ed4',
    500: '#782cc0',
    950: '#000000',
  },
}
SCSS
$custom: #782cc0;
$custom-light: #a56ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#782cc0",
  "rgb": {
    "r": 120,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 270.811,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48466,
    "c": 0.21387,
    "h": 302.1
  },
  "luminance": 0.096
}

Semantic roles & 50–950 ramp

primary
#782CC0
secondary
#A3CC7C
accent
#E64292
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #782CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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