#784DE8#784DE8

#784DE8 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.6% C 0.221 H 290.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#784DE8
RGBrgb(120, 77, 232)
HSLhsl(257, 77%, 61%)
HSVhsv(257, 67%, 91%)
CMYKcmyk(48.3%, 66.8%, 0%, 9%)
CIE-LABlab(45.81, 53.79, -72.34)
CIE-LCHlch(45.81, 90.14, 306.63°)
OKLaboklab(55.62% 0.0757 -0.2074)
OKLCHoklch(55.62% 0.221 290.1)
XYZxyz(24.9609, 15.1260, 77.9327)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DE8 #BDE84D
analogous
#4D6FE8 #784DE8 #C54DE8
triadic
#784DE8 #E8784D #4DE878
tetradic
#784DE8 #E84D6F #BDE84D #4DE8C5
square
#784DE8 #E84D6F #BDE84D #4DE8C5
split-complementary
#784DE8 #E8C54D #6FE84D
monochromatic
#3D15A5 #511CDB #784DE8 #A183EF #CAB9F6

Accessibility & contrast

On white

5.22
#784DE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#784DE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DE8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DE8#FFFFFF#000000##FFFFFF
##784DE81.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#537494
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #784de8;
/* rgb */ color: rgb(120, 77, 232);
/* oklch */ color: oklch(55.6% 0.221 290.1);
Tailwind
colors: {
  custom: {
    50: '#a882f0',
    500: '#784de8',
    950: '#000000',
  },
}
SCSS
$custom: #784de8;
$custom-light: #a882f0;
$custom-dark: #000000;
JSON
{
  "hex": "#784de8",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 256.645,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5562,
    "c": 0.22078,
    "h": 290.1
  },
  "luminance": 0.15127
}

Semantic roles & 50–950 ramp

primary
#784DE8
secondary
#D6E6AB
accent
#D90CA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #784DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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