#784CE5#784CE5

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

Color values

HEX#784CE5
RGBrgb(120, 76, 229)
HSLhsl(257, 75%, 60%)
HSVhsv(257, 67%, 90%)
CMYKcmyk(47.6%, 66.8%, 0%, 10.2%)
CIE-LABlab(45.38, 53.49, -71.33)
CIE-LCHlch(45.38, 89.16, 306.86°)
OKLaboklab(55.25% 0.0771 -0.2044)
OKLCHoklch(55.25% 0.218 290.7)
XYZxyz(24.4690, 14.8182, 75.6845)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CE5 #B9E54C
analogous
#4C6DE5 #784CE5 #C54CE5
triadic
#784CE5 #E5784C #4CE578
tetradic
#784CE5 #E54C6D #B9E54C #4CE5C5
square
#784CE5 #E54C6D #B9E54C #4CE5C5
split-complementary
#784CE5 #E5C54C #6DE54C
monochromatic
#3E179F #531FD5 #784CE5 #A081ED #C9B7F5

Accessibility & contrast

On white

5.30
#784CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#784CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CE5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CE5#FFFFFF#000000##FFFFFF
##784CE51.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#557292
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784ce5;
/* rgb */ color: rgb(120, 76, 229);
/* oklch */ color: oklch(55.2% 0.218 290.7);
Tailwind
colors: {
  custom: {
    50: '#a881ee',
    500: '#784ce5',
    950: '#000000',
  },
}
SCSS
$custom: #784ce5;
$custom-light: #a881ee;
$custom-dark: #000000;
JSON
{
  "hex": "#784ce5",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 257.255,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55245,
    "c": 0.21848,
    "h": 290.7
  },
  "luminance": 0.14819
}

Semantic roles & 50–950 ramp

primary
#784CE5
secondary
#D3E4A9
accent
#F137BC
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #784CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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