#784CC4#784CC4

#784CC4 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.179 H 296.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#784CC4
RGBrgb(120, 76, 196)
HSLhsl(262, 50%, 53%)
HSVhsv(262, 61%, 77%)
CMYKcmyk(38.8%, 61.2%, 0%, 23.1%)
CIE-LABlab(42.98, 44.59, -56.30)
CIE-LCHlch(42.98, 71.82, 308.38°)
OKLaboklab(52.76% 0.0804 -0.1602)
OKLCHoklch(52.76% 0.179 296.7)
XYZxyz(20.2914, 13.1471, 53.6824)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CC4 #98C44C
analogous
#4C5CC4 #784CC4 #B44CC4
triadic
#784CC4 #C4784C #4CC478
tetradic
#784CC4 #C44C5C #98C44C #4CC4B4
square
#784CC4 #C44C5C #98C44C #4CC4B4
split-complementary
#784CC4 #C4B44C #5CC44C
monochromatic
#412571 #5B349F #784CC4 #9B7AD3 #BDA8E2

Accessibility & contrast

On white

5.79
#784CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#784CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CC4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CC4#FFFFFF#000000##FFFFFF
##784CC41.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#1064C1
Tritanopia (blue-blind)
#666681
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784cc4;
/* rgb */ color: rgb(120, 76, 196);
/* oklch */ color: oklch(52.8% 0.179 296.7);
Tailwind
colors: {
  custom: {
    50: '#a480d7',
    500: '#784cc4',
    950: '#000000',
  },
}
SCSS
$custom: #784cc4;
$custom-light: #a480d7;
$custom-dark: #000000;
JSON
{
  "hex": "#784cc4",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 262,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52755,
    "c": 0.17929,
    "h": 296.7
  },
  "luminance": 0.13147
}

Semantic roles & 50–950 ramp

primary
#784CC4
secondary
#BDD09C
accent
#DA4EA7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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