#784BD8#784BD8

#784BD8 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.1% C 0.204 H 293.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#784BD8
RGBrgb(120, 75, 216)
HSLhsl(259, 64%, 57%)
HSVhsv(259, 65%, 85%)
CMYKcmyk(44.4%, 65.3%, 0%, 15.3%)
CIE-LABlab(44.21, 50.49, -65.85)
CIE-LCHlch(44.21, 82.97, 307.48°)
OKLaboklab(54.09% 0.0798 -0.1883)
OKLCHoklch(54.09% 0.205 293)
XYZxyz(22.6531, 13.9824, 66.4578)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BD8 #ABD84B
analogous
#4B65D8 #784BD8 #BF4BD8
triadic
#784BD8 #D8784B #4BD878
tetradic
#784BD8 #D84B65 #ABD84B #4BD8BF
square
#784BD8 #D84B65 #ABD84B #4BD8BF
split-complementary
#784BD8 #D8BF4B #65D84B
monochromatic
#411E8B #5829BD #784BD8 #9E7DE3 #C3B0EE

Accessibility & contrast

On white

5.53
#784BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#784BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BD8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BD8#FFFFFF#000000##FFFFFF
##784BD81.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#5C6D8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784bd8;
/* rgb */ color: rgb(120, 75, 216);
/* oklch */ color: oklch(54.1% 0.204 293.0);
Tailwind
colors: {
  custom: {
    50: '#a680e5',
    500: '#784bd8',
    950: '#000000',
  },
}
SCSS
$custom: #784bd8;
$custom-light: #a680e5;
$custom-dark: #000000;
JSON
{
  "hex": "#784bd8",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 259.149,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54091,
    "c": 0.2045,
    "h": 293
  },
  "luminance": 0.13983
}

Semantic roles & 50–950 ramp

primary
#784BD8
secondary
#CADCA3
accent
#E740B2
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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