#784CC7#784CC7

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

Color values

HEX#784CC7
RGBrgb(120, 76, 199)
HSLhsl(261, 52%, 54%)
HSVhsv(261, 62%, 78%)
CMYKcmyk(39.7%, 61.8%, 0%, 22%)
CIE-LABlab(43.19, 45.39, -57.71)
CIE-LCHlch(43.19, 73.42, 308.18°)
OKLaboklab(52.97% 0.0803 -0.1644)
OKLCHoklch(52.97% 0.183 296)
XYZxyz(20.6363, 13.2851, 55.4988)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CC7 #9BC74C
analogous
#4C5EC7 #784CC7 #B54CC7
triadic
#784CC7 #C7784C #4CC778
tetradic
#784CC7 #C74C5E #9BC74C #4CC7B5
square
#784CC7 #C74C5E #9BC74C #4CC7B5
split-complementary
#784CC7 #C7B54C #5EC74C
monochromatic
#412474 #5B33A3 #784CC7 #9B7BD6 #BEA9E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##784CC7#FFFFFF#000000##FFFFFF
##784CC71.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)
#0067CB
Deuteranopia (green-blind)
#0364C4
Tritanopia (blue-blind)
#646782
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784cc7;
/* rgb */ color: rgb(120, 76, 199);
/* oklch */ color: oklch(53.0% 0.183 296.0);
Tailwind
colors: {
  custom: {
    50: '#a480d9',
    500: '#784cc7',
    950: '#000000',
  },
}
SCSS
$custom: #784cc7;
$custom-light: #a480d9;
$custom-dark: #000000;
JSON
{
  "hex": "#784cc7",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 261.463,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5297,
    "c": 0.18292,
    "h": 296
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

primary
#784CC7
secondary
#BFD29D
accent
#DC4CA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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