#784DE6#784DE6

#784DE6 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.218 H 290.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#784DE6
RGBrgb(120, 77, 230)
HSLhsl(257, 75%, 60%)
HSVhsv(257, 67%, 90%)
CMYKcmyk(47.8%, 66.5%, 0%, 9.8%)
CIE-LABlab(45.65, 53.24, -71.46)
CIE-LCHlch(45.65, 89.11, 306.69°)
OKLaboklab(55.46% 0.076 -0.2048)
OKLCHoklch(55.46% 0.218 290.4)
XYZxyz(24.6785, 15.0130, 76.4451)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DE6 #BBE64D
analogous
#4D6EE6 #784DE6 #C54DE6
triadic
#784DE6 #E6784D #4DE678
tetradic
#784DE6 #E64D6E #BBE64D #4DE6C5
square
#784DE6 #E64D6E #BBE64D #4DE6C5
split-complementary
#784DE6 #E6C54D #6EE64D
monochromatic
#3E17A2 #521ED8 #784DE6 #A183EE #C9B8F5

Accessibility & contrast

On white

5.25
#784DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#784DE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DE6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DE6#FFFFFF#000000##FFFFFF
##784DE61.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#0069E3
Tritanopia (blue-blind)
#547393
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #784de6;
/* rgb */ color: rgb(120, 77, 230);
/* oklch */ color: oklch(55.5% 0.218 290.4);
Tailwind
colors: {
  custom: {
    50: '#a882ef',
    500: '#784de6',
    950: '#000000',
  },
}
SCSS
$custom: #784de6;
$custom-light: #a882ef;
$custom-dark: #000000;
JSON
{
  "hex": "#784de6",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 256.863,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55461,
    "c": 0.21845,
    "h": 290.4
  },
  "luminance": 0.15014
}

Semantic roles & 50–950 ramp

primary
#784DE6
secondary
#D4E5AA
accent
#D80E9F
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #784DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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