#784EDA#784EDA

#784EDA is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.203 H 292.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#784EDA
RGBrgb(120, 78, 218)
HSLhsl(258, 65%, 58%)
HSVhsv(258, 64%, 85%)
CMYKcmyk(45%, 64.2%, 0%, 14.5%)
CIE-LABlab(44.95, 49.43, -65.79)
CIE-LCHlch(44.95, 82.29, 306.92°)
OKLaboklab(54.67% 0.0765 -0.1881)
OKLCHoklch(54.67% 0.203 292.1)
XYZxyz(23.1215, 14.5031, 67.8972)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EDA #B0DA4E
analogous
#4E6ADA #784EDA #BE4EDA
triadic
#784EDA #DA784E #4EDA78
tetradic
#784EDA #DA4E6A #B0DA4E #4EDABE
square
#784EDA #DA4E6A #B0DA4E #4EDABE
split-complementary
#784EDA #DABE4E #6ADA4E
monochromatic
#401E90 #5729C2 #784EDA #9F81E5 #C5B3EF

Accessibility & contrast

On white

5.38
#784EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#784EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EDA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EDA#FFFFFF#000000##FFFFFF
##784EDA1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#5B6F8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784eda;
/* rgb */ color: rgb(120, 78, 218);
/* oklch */ color: oklch(54.7% 0.203 292.1);
Tailwind
colors: {
  custom: {
    50: '#a682e6',
    500: '#784eda',
    950: '#000000',
  },
}
SCSS
$custom: #784eda;
$custom-light: #a682e6;
$custom-dark: #000000;
JSON
{
  "hex": "#784eda",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 258,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5467,
    "c": 0.20309,
    "h": 292.1
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#784EDA
secondary
#CDDEA6
accent
#E83FB6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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