#784CC5#784CC5

#784CC5 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.181 H 296.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#784CC5
RGBrgb(120, 76, 197)
HSLhsl(262, 51%, 54%)
HSVhsv(262, 61%, 77%)
CMYKcmyk(39.1%, 61.4%, 0%, 22.7%)
CIE-LABlab(43.05, 44.86, -56.77)
CIE-LCHlch(43.05, 72.35, 308.31°)
OKLaboklab(52.83% 0.0804 -0.1616)
OKLCHoklch(52.83% 0.181 296.4)
XYZxyz(20.4056, 13.1928, 54.2839)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CC5 #99C54C
analogous
#4C5CC5 #784CC5 #B44CC5
triadic
#784CC5 #C5784C #4CC578
tetradic
#784CC5 #C54C5C #99C54C #4CC5B4
square
#784CC5 #C54C5C #99C54C #4CC5B4
split-complementary
#784CC5 #C5B44C #5CC54C
monochromatic
#412572 #5B34A0 #784CC5 #9B7AD4 #BEA8E3

Accessibility & contrast

On white

5.77
#784CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#784CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CC5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CC5#FFFFFF#000000##FFFFFF
##784CC51.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0D64C2
Tritanopia (blue-blind)
#656781
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784cc5;
/* rgb */ color: rgb(120, 76, 197);
/* oklch */ color: oklch(52.8% 0.181 296.4);
Tailwind
colors: {
  custom: {
    50: '#a480d7',
    500: '#784cc5',
    950: '#000000',
  },
}
SCSS
$custom: #784cc5;
$custom-light: #a480d7;
$custom-dark: #000000;
JSON
{
  "hex": "#784cc5",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 261.818,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52826,
    "c": 0.18051,
    "h": 296.4
  },
  "luminance": 0.13193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #784CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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