#784DC4#784DC4

#784DC4 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.178 H 296.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#784DC4
RGBrgb(120, 77, 196)
HSLhsl(262, 50%, 54%)
HSVhsv(262, 61%, 77%)
CMYKcmyk(38.8%, 60.7%, 0%, 23.1%)
CIE-LABlab(43.19, 44.04, -55.97)
CIE-LCHlch(43.19, 71.22, 308.20°)
OKLaboklab(52.91% 0.0793 -0.1592)
OKLCHoklch(52.91% 0.178 296.5)
XYZxyz(20.3608, 13.2860, 53.7056)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DC4 #99C44D
analogous
#4D5DC4 #784DC4 #B44DC4
triadic
#784DC4 #C4784D #4DC478
tetradic
#784DC4 #C44D5D #99C44D #4DC4B4
square
#784DC4 #C44D5D #99C44D #4DC4B4
split-complementary
#784DC4 #C4B44D #5DC44D
monochromatic
#412571 #5B359F #784DC4 #9B7BD3 #BEA9E2

Accessibility & contrast

On white

5.74
#784DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#784DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DC4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DC4#FFFFFF#000000##FFFFFF
##784DC41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#1464C1
Tritanopia (blue-blind)
#656781
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784dc4;
/* rgb */ color: rgb(120, 77, 196);
/* oklch */ color: oklch(52.9% 0.178 296.5);
Tailwind
colors: {
  custom: {
    50: '#a481d7',
    500: '#784dc4',
    950: '#000000',
  },
}
SCSS
$custom: #784dc4;
$custom-light: #a481d7;
$custom-dark: #000000;
JSON
{
  "hex": "#784dc4",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 261.681,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52906,
    "c": 0.17789,
    "h": 296.5
  },
  "luminance": 0.13286
}

Semantic roles & 50–950 ramp

primary
#784DC4
secondary
#BDD09D
accent
#DA4EA7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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