#784EDC#784EDC

#784EDC is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.8% C 0.205 H 291.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#784EDC
RGBrgb(120, 78, 220)
HSLhsl(258, 67%, 58%)
HSVhsv(258, 65%, 86%)
CMYKcmyk(45.5%, 64.5%, 0%, 13.7%)
CIE-LABlab(45.09, 49.97, -66.69)
CIE-LCHlch(45.09, 83.34, 306.85°)
OKLaboklab(54.82% 0.0763 -0.1908)
OKLCHoklch(54.82% 0.205 291.8)
XYZxyz(23.3848, 14.6084, 69.2838)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EDC #B2DC4E
analogous
#4E6BDC #784EDC #BF4EDC
triadic
#784EDC #DC784E #4EDC78
tetradic
#784EDC #DC4E6B #B2DC4E #4EDCBF
square
#784EDC #DC4E6B #B2DC4E #4EDCBF
split-complementary
#784EDC #DCBF4E #6BDC4E
monochromatic
#401D93 #5627C6 #784EDC #9F81E6 #C6B4F0

Accessibility & contrast

On white

5.35
#784EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#784EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EDC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EDC#FFFFFF#000000##FFFFFF
##784EDC1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#5A708E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784edc;
/* rgb */ color: rgb(120, 78, 220);
/* oklch */ color: oklch(54.8% 0.205 291.8);
Tailwind
colors: {
  custom: {
    50: '#a682e8',
    500: '#784edc',
    950: '#000000',
  },
}
SCSS
$custom: #784edc;
$custom-light: #a682e8;
$custom-dark: #000000;
JSON
{
  "hex": "#784edc",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 257.746,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.20546,
    "h": 291.8
  },
  "luminance": 0.14609
}

Semantic roles & 50–950 ramp

primary
#784EDC
secondary
#CEDFA7
accent
#EA3EB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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