#784DCA#784DCA

#784DCA is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.185 H 295.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#784DCA
RGBrgb(120, 77, 202)
HSLhsl(261, 54%, 55%)
HSVhsv(261, 62%, 79%)
CMYKcmyk(40.6%, 61.9%, 0%, 20.8%)
CIE-LABlab(43.60, 45.64, -58.78)
CIE-LCHlch(43.60, 74.42, 307.83°)
OKLaboklab(53.34% 0.079 -0.1675)
OKLCHoklch(53.34% 0.185 295.2)
XYZxyz(21.0575, 13.5646, 57.3744)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DCA #9FCA4D
analogous
#4D61CA #784DCA #B74DCA
triadic
#784DCA #CA784D #4DCA78
tetradic
#784DCA #CA4D61 #9FCA4D #4DCAB7
square
#784DCA #CA4D61 #9FCA4D #4DCAB7
split-complementary
#784DCA #CAB74D #61CA4D
monochromatic
#412479 #5B32A8 #784DCA #9C7CD8 #C0ABE6

Accessibility & contrast

On white

5.66
#784DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#784DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DCA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DCA#FFFFFF#000000##FFFFFF
##784DCA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#636984
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784dca;
/* rgb */ color: rgb(120, 77, 202);
/* oklch */ color: oklch(53.3% 0.185 295.2);
Tailwind
colors: {
  custom: {
    50: '#a481db',
    500: '#784dca',
    950: '#000000',
  },
}
SCSS
$custom: #784dca;
$custom-light: #a481db;
$custom-dark: #000000;
JSON
{
  "hex": "#784dca",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 260.64,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.18519,
    "h": 295.2
  },
  "luminance": 0.13565
}

Semantic roles & 50–950 ramp

primary
#784DCA
secondary
#C2D49F
accent
#DD4AAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784DCA

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

Preview Lab → · Contrast checker → · Palette generator →

#784DCA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva