#784BD4#784BD4

#784BD4 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.200 H 293.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#784BD4
RGBrgb(120, 75, 212)
HSLhsl(260, 61%, 56%)
HSVhsv(260, 65%, 83%)
CMYKcmyk(43.4%, 64.6%, 0%, 16.9%)
CIE-LABlab(43.91, 49.41, -64.03)
CIE-LCHlch(43.91, 80.88, 307.65°)
OKLaboklab(53.79% 0.0803 -0.183)
OKLCHoklch(53.79% 0.2 293.7)
XYZxyz(22.1422, 13.7781, 63.7674)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BD4 #A7D44B
analogous
#4B63D4 #784BD4 #BD4BD4
triadic
#784BD4 #D4784B #4BD478
tetradic
#784BD4 #D44B63 #A7D44B #4BD4BD
square
#784BD4 #D44B63 #A7D44B #4BD4BD
split-complementary
#784BD4 #D4BD4B #63D44B
monochromatic
#412085 #592CB6 #784BD4 #9D7CE0 #C2AEEC

Accessibility & contrast

On white

5.59
#784BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#784BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BD4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BD4#FFFFFF#000000##FFFFFF
##784BD41.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#5E6B89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784bd4;
/* rgb */ color: rgb(120, 75, 212);
/* oklch */ color: oklch(53.8% 0.200 293.7);
Tailwind
colors: {
  custom: {
    50: '#a680e2',
    500: '#784bd4',
    950: '#000000',
  },
}
SCSS
$custom: #784bd4;
$custom-light: #a680e2;
$custom-dark: #000000;
JSON
{
  "hex": "#784bd4",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 259.708,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53786,
    "c": 0.19979,
    "h": 293.7
  },
  "luminance": 0.13779
}

Semantic roles & 50–950 ramp

primary
#784BD4
secondary
#C7DAA1
accent
#E543B0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #784BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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