#784DD6#784DD6

#784DD6 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.200 H 293.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#784DD6
RGBrgb(120, 77, 214)
HSLhsl(259, 63%, 57%)
HSVhsv(259, 64%, 84%)
CMYKcmyk(43.9%, 64%, 0%, 16.1%)
CIE-LABlab(44.45, 48.88, -64.30)
CIE-LCHlch(44.45, 80.77, 307.24°)
OKLaboklab(54.22% 0.078 -0.1837)
OKLCHoklch(54.22% 0.2 293)
XYZxyz(22.5339, 14.1552, 65.1502)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DD6 #ABD64D
analogous
#4D67D6 #784DD6 #BC4DD6
triadic
#784DD6 #D6784D #4DD678
tetradic
#784DD6 #D64D67 #ABD64D #4DD6BC
square
#784DD6 #D64D67 #ABD64D #4DD6BC
split-complementary
#784DD6 #D6BC4D #67D64D
monochromatic
#412089 #582BBB #784DD6 #9E7FE1 #C3B0ED

Accessibility & contrast

On white

5.48
#784DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#784DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DD6
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DD6#FFFFFF#000000##FFFFFF
##784DD61.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#5D6D8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784dd6;
/* rgb */ color: rgb(120, 77, 214);
/* oklch */ color: oklch(54.2% 0.200 293.0);
Tailwind
colors: {
  custom: {
    50: '#a681e4',
    500: '#784dd6',
    950: '#000000',
  },
}
SCSS
$custom: #784dd6;
$custom-light: #a681e4;
$custom-dark: #000000;
JSON
{
  "hex": "#784dd6",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 258.832,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54223,
    "c": 0.1996,
    "h": 293
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#784DD6
secondary
#CADBA4
accent
#E642B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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