#784DE3#784DE3

#784DE3 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.215 H 290.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#784DE3
RGBrgb(120, 77, 227)
HSLhsl(257, 73%, 60%)
HSVhsv(257, 66%, 89%)
CMYKcmyk(47.1%, 66.1%, 0%, 11%)
CIE-LABlab(45.42, 52.42, -70.13)
CIE-LCHlch(45.42, 87.56, 306.77°)
OKLaboklab(55.22% 0.0764 -0.2009)
OKLCHoklch(55.22% 0.215 290.8)
XYZxyz(24.2608, 14.8460, 74.2454)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DE3 #B8E34D
analogous
#4D6DE3 #784DE3 #C34DE3
triadic
#784DE3 #E3784D #4DE378
tetradic
#784DE3 #E34D6D #B8E34D #4DE3C3
square
#784DE3 #E34D6D #B8E34D #4DE3C3
split-complementary
#784DE3 #E3C34D #6DE34D
monochromatic
#3F199D #5421D2 #784DE3 #A082EB #C8B7F4

Accessibility & contrast

On white

5.29
#784DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#784DE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DE3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DE3#FFFFFF#000000##FFFFFF
##784DE31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#567292
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784de3;
/* rgb */ color: rgb(120, 77, 227);
/* oklch */ color: oklch(55.2% 0.215 290.8);
Tailwind
colors: {
  custom: {
    50: '#a781ed',
    500: '#784de3',
    950: '#000000',
  },
}
SCSS
$custom: #784de3;
$custom-light: #a781ed;
$custom-dark: #000000;
JSON
{
  "hex": "#784de3",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 227
  },
  "hsl": {
    "h": 257.2,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55224,
    "c": 0.21495,
    "h": 290.8
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#784DE3
secondary
#D2E3A9
accent
#F038BB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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