#782CAD#782CAD

#782CAD is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.195 H 307.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#782CAD
RGBrgb(120, 44, 173)
HSLhsl(275, 59%, 43%)
HSVhsv(275, 75%, 68%)
CMYKcmyk(30.6%, 74.6%, 0%, 32.2%)
CIE-LABlab(35.62, 54.65, -54.69)
CIE-LCHlch(35.62, 77.32, 314.98°)
OKLaboklab(46.95% 0.1178 -0.1553)
OKLCHoklch(46.95% 0.195 307.2)
XYZxyz(16.1876, 8.8118, 40.3751)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782CAD #61AD2C
analogous
#382CAD #782CAD #AD2CA1
triadic
#782CAD #AD782C #2CAD78
tetradic
#782CAD #AD382C #61AD2C #2CA1AD
square
#782CAD #AD382C #61AD2C #2CA1AD
split-complementary
#782CAD #A1AD2C #2CAD38
monochromatic
#34134B #56207C #782CAD #9746D0 #B377DC

Accessibility & contrast

On white

7.60
#782CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#782CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782CAD
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782CAD#FFFFFF#000000##FFFFFF
##782CAD1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#6F4B6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #782cad;
/* rgb */ color: rgb(120, 44, 173);
/* oklch */ color: oklch(46.9% 0.195 307.2);
Tailwind
colors: {
  custom: {
    50: '#a46dc6',
    500: '#782cad',
    950: '#000000',
  },
}
SCSS
$custom: #782cad;
$custom-light: #a46dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#782cad",
  "rgb": {
    "r": 120,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 275.349,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46948,
    "c": 0.19497,
    "h": 307.2
  },
  "luminance": 0.08812
}

Semantic roles & 50–950 ramp

primary
#782CAD
secondary
#93C471
accent
#E34586
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #782CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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