#784CD5#784CD5

#784CD5 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.200 H 293.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#784CD5
RGBrgb(120, 76, 213)
HSLhsl(259, 62%, 57%)
HSVhsv(259, 64%, 84%)
CMYKcmyk(43.7%, 64.3%, 0%, 16.5%)
CIE-LABlab(44.18, 49.14, -64.17)
CIE-LCHlch(44.18, 80.82, 307.45°)
OKLaboklab(54% 0.0791 -0.1834)
OKLCHoklch(54% 0.2 293.3)
XYZxyz(22.3371, 13.9654, 64.4566)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CD5 #A9D54C
analogous
#4C65D5 #784CD5 #BD4CD5
triadic
#784CD5 #D5784C #4CD578
tetradic
#784CD5 #D54C65 #A9D54C #4CD5BD
square
#784CD5 #D54C65 #A9D54C #4CD5BD
split-complementary
#784CD5 #D5BD4C #65D54C
monochromatic
#412087 #592BB9 #784CD5 #9D7EE1 #C3AFEC

Accessibility & contrast

On white

5.54
#784CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#784CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CD5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CD5#FFFFFF#000000##FFFFFF
##784CD51.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#5E6C8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784cd5;
/* rgb */ color: rgb(120, 76, 213);
/* oklch */ color: oklch(54.0% 0.200 293.3);
Tailwind
colors: {
  custom: {
    50: '#a680e3',
    500: '#784cd5',
    950: '#000000',
  },
}
SCSS
$custom: #784cd5;
$custom-light: #a680e3;
$custom-dark: #000000;
JSON
{
  "hex": "#784cd5",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 259.27,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54004,
    "c": 0.19969,
    "h": 293.3
  },
  "luminance": 0.13966
}

Semantic roles & 50–950 ramp

primary
#784CD5
secondary
#C8DAA2
accent
#E543B1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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