#784EDF#784EDF

#784EDF is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.1% C 0.209 H 291.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#784EDF
RGBrgb(120, 78, 223)
HSLhsl(257, 69%, 59%)
HSVhsv(257, 65%, 87%)
CMYKcmyk(46.2%, 65%, 0%, 12.5%)
CIE-LABlab(45.32, 50.79, -68.04)
CIE-LCHlch(45.32, 84.91, 306.74°)
OKLaboklab(55.05% 0.0759 -0.1947)
OKLCHoklch(55.05% 0.209 291.3)
XYZxyz(23.7857, 14.7687, 71.3951)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EDF #B5DF4E
analogous
#4E6DDF #784EDF #C04EDF
triadic
#784EDF #DF784E #4EDF78
tetradic
#784EDF #DF4E6D #B5DF4E #4EDFC0
square
#784EDF #DF4E6D #B5DF4E #4EDFC0
split-complementary
#784EDF #DFC04E #6DDF4E
monochromatic
#3F1B97 #5525CB #784EDF #A082E8 #C7B6F2

Accessibility & contrast

On white

5.31
#784EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784EDF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EDF#FFFFFF#000000##FFFFFF
##784EDF1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#587190
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784edf;
/* rgb */ color: rgb(120, 78, 223);
/* oklch */ color: oklch(55.1% 0.209 291.3);
Tailwind
colors: {
  custom: {
    50: '#a782ea',
    500: '#784edf',
    950: '#000000',
  },
}
SCSS
$custom: #784edf;
$custom-light: #a782ea;
$custom-dark: #000000;
JSON
{
  "hex": "#784edf",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 223
  },
  "hsl": {
    "h": 257.379,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55053,
    "c": 0.20902,
    "h": 291.3
  },
  "luminance": 0.1477
}

Semantic roles & 50–950 ramp

primary
#784EDF
secondary
#D0E1A8
accent
#EC3CB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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