#784EDB#784EDB

#784EDB is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.7% C 0.204 H 292.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#784EDB
RGBrgb(120, 78, 219)
HSLhsl(258, 66%, 58%)
HSVhsv(258, 64%, 86%)
CMYKcmyk(45.2%, 64.4%, 0%, 14.1%)
CIE-LABlab(45.02, 49.70, -66.24)
CIE-LCHlch(45.02, 82.81, 306.88°)
OKLaboklab(54.75% 0.0764 -0.1895)
OKLCHoklch(54.75% 0.204 292)
XYZxyz(23.2528, 14.5556, 68.5884)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EDB #B1DB4E
analogous
#4E6ADB #784EDB #BE4EDB
triadic
#784EDB #DB784E #4EDB78
tetradic
#784EDB #DB4E6A #B1DB4E #4EDBBE
square
#784EDB #DB4E6A #B1DB4E #4EDBBE
split-complementary
#784EDB #DBBE4E #6ADB4E
monochromatic
#401E91 #5628C4 #784EDB #9F81E5 #C6B4F0

Accessibility & contrast

On white

5.37
#784EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#784EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EDB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EDB#FFFFFF#000000##FFFFFF
##784EDB1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#5A708E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784edb;
/* rgb */ color: rgb(120, 78, 219);
/* oklch */ color: oklch(54.7% 0.204 292.0);
Tailwind
colors: {
  custom: {
    50: '#a682e7',
    500: '#784edb',
    950: '#000000',
  },
}
SCSS
$custom: #784edb;
$custom-light: #a682e7;
$custom-dark: #000000;
JSON
{
  "hex": "#784edb",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 257.872,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54746,
    "c": 0.20428,
    "h": 292
  },
  "luminance": 0.14556
}

Semantic roles & 50–950 ramp

primary
#784EDB
secondary
#CEDEA6
accent
#E93FB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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