#784FD4#784FD4

#784FD4 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.195 H 293.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#784FD4
RGBrgb(120, 79, 212)
HSLhsl(258, 61%, 57%)
HSVhsv(258, 63%, 83%)
CMYKcmyk(43.4%, 62.7%, 0%, 16.9%)
CIE-LABlab(44.71, 47.25, -62.73)
CIE-LCHlch(44.71, 78.54, 306.99°)
OKLaboklab(54.36% 0.076 -0.1791)
OKLCHoklch(54.36% 0.195 293)
XYZxyz(22.4221, 14.3378, 63.8607)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FD4 #ABD44F
analogous
#4F69D4 #784FD4 #BB4FD4
triadic
#784FD4 #D4784F #4FD478
tetradic
#784FD4 #D44F69 #ABD44F #4FD4BB
square
#784FD4 #D44F69 #ABD44F #4FD4BB
split-complementary
#784FD4 #D4BB4F #69D44F
monochromatic
#412187 #582DB9 #784FD4 #9E80E0 #C3B1EC

Accessibility & contrast

On white

5.43
#784FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#784FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FD4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FD4#FFFFFF#000000##FFFFFF
##784FD41.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#5E6E8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784fd4;
/* rgb */ color: rgb(120, 79, 212);
/* oklch */ color: oklch(54.4% 0.195 293.0);
Tailwind
colors: {
  custom: {
    50: '#a582e2',
    500: '#784fd4',
    950: '#000000',
  },
}
SCSS
$custom: #784fd4;
$custom-light: #a582e2;
$custom-dark: #000000;
JSON
{
  "hex": "#784fd4",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 258.496,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54365,
    "c": 0.1946,
    "h": 293
  },
  "luminance": 0.14339
}

Semantic roles & 50–950 ramp

primary
#784FD4
secondary
#CADAA4
accent
#E444B3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #784FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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