#784DD8#784DD8

#784DD8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.4% C 0.202 H 292.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#784DD8
RGBrgb(120, 77, 216)
HSLhsl(259, 64%, 57%)
HSVhsv(259, 64%, 85%)
CMYKcmyk(44.4%, 64.4%, 0%, 15.3%)
CIE-LABlab(44.60, 49.42, -65.21)
CIE-LCHlch(44.60, 81.82, 307.16°)
OKLaboklab(54.37% 0.0777 -0.1864)
OKLCHoklch(54.37% 0.202 292.6)
XYZxyz(22.7909, 14.2580, 66.5037)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DD8 #ADD84D
analogous
#4D68D8 #784DD8 #BD4DD8
triadic
#784DD8 #D8784D #4DD878
tetradic
#784DD8 #D84D68 #ADD84D #4DD8BD
square
#784DD8 #D84D68 #ADD84D #4DD8BD
split-complementary
#784DD8 #D8BD4D #68D84D
monochromatic
#401F8C #582ABE #784DD8 #9E7FE3 #C4B1EE

Accessibility & contrast

On white

5.45
#784DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#784DD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DD8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DD8#FFFFFF#000000##FFFFFF
##784DD81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#5C6E8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784dd8;
/* rgb */ color: rgb(120, 77, 216);
/* oklch */ color: oklch(54.4% 0.202 292.6);
Tailwind
colors: {
  custom: {
    50: '#a681e5',
    500: '#784dd8',
    950: '#000000',
  },
}
SCSS
$custom: #784dd8;
$custom-light: #a681e5;
$custom-dark: #000000;
JSON
{
  "hex": "#784dd8",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 216
  },
  "hsl": {
    "h": 258.561,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54375,
    "c": 0.20198,
    "h": 292.6
  },
  "luminance": 0.14259
}

Semantic roles & 50–950 ramp

primary
#784DD8
secondary
#CBDCA4
accent
#E741B4
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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