#784DE1#784DE1

#784DE1 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.213 H 291.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#784DE1
RGBrgb(120, 77, 225)
HSLhsl(257, 71%, 59%)
HSVhsv(257, 66%, 88%)
CMYKcmyk(46.7%, 65.8%, 0%, 11.8%)
CIE-LABlab(45.27, 51.87, -69.25)
CIE-LCHlch(45.27, 86.52, 306.84°)
OKLaboklab(55.07% 0.0767 -0.1983)
OKLCHoklch(55.07% 0.213 291.1)
XYZxyz(23.9864, 14.7362, 72.8001)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DE1 #B6E14D
analogous
#4D6CE1 #784DE1 #C24DE1
triadic
#784DE1 #E1784D #4DE178
tetradic
#784DE1 #E14D6C #B6E14D #4DE1C2
square
#784DE1 #E14D6C #B6E14D #4DE1C2
split-complementary
#784DE1 #E1C24D #6CE14D
monochromatic
#3F1A9A #5523CE #784DE1 #A081EA #C7B6F3

Accessibility & contrast

On white

5.32
#784DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#784DE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DE1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DE1#FFFFFF#000000##FFFFFF
##784DE11.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#577191
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784de1;
/* rgb */ color: rgb(120, 77, 225);
/* oklch */ color: oklch(55.1% 0.213 291.1);
Tailwind
colors: {
  custom: {
    50: '#a781eb',
    500: '#784de1',
    950: '#000000',
  },
}
SCSS
$custom: #784de1;
$custom-light: #a781eb;
$custom-dark: #000000;
JSON
{
  "hex": "#784de1",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 257.432,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55068,
    "c": 0.2126,
    "h": 291.1
  },
  "luminance": 0.14737
}

Semantic roles & 50–950 ramp

primary
#784DE1
secondary
#D1E2A8
accent
#EE3ABA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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