#784FE0#784FE0

#784FE0 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.209 H 291.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#784FE0
RGBrgb(120, 79, 224)
HSLhsl(257, 70%, 59%)
HSVhsv(257, 65%, 88%)
CMYKcmyk(46.4%, 64.7%, 0%, 12.2%)
CIE-LABlab(45.59, 50.53, -68.16)
CIE-LCHlch(45.59, 84.85, 306.55°)
OKLaboklab(55.27% 0.0748 -0.1951)
OKLCHoklch(55.27% 0.209 291)
XYZxyz(23.9925, 14.9660, 72.1311)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FE0 #B7E04F
analogous
#4F6EE0 #784FE0 #C14FE0
triadic
#784FE0 #E0784F #4FE078
tetradic
#784FE0 #E04F6E #B7E04F #4FE0C1
square
#784FE0 #E04F6E #B7E04F #4FE0C1
split-complementary
#784FE0 #E0C14F #6EE04F
monochromatic
#3F1B9A #5424CE #784FE0 #A083E9 #C8B7F2

Accessibility & contrast

On white

5.26
#784FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#784FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FE0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FE0#FFFFFF#000000##FFFFFF
##784FE01.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE4
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#587291
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #784fe0;
/* rgb */ color: rgb(120, 79, 224);
/* oklch */ color: oklch(55.3% 0.209 291.0);
Tailwind
colors: {
  custom: {
    50: '#a783eb',
    500: '#784fe0',
    950: '#000000',
  },
}
SCSS
$custom: #784fe0;
$custom-light: #a783eb;
$custom-dark: #000000;
JSON
{
  "hex": "#784fe0",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 256.966,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55273,
    "c": 0.20896,
    "h": 291
  },
  "luminance": 0.14967
}

Semantic roles & 50–950 ramp

primary
#784FE0
secondary
#D2E2A9
accent
#ED3BBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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