#784FC0#784FC0

#784FC0 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.170 H 296.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#784FC0
RGBrgb(120, 79, 192)
HSLhsl(262, 47%, 53%)
HSVhsv(262, 59%, 75%)
CMYKcmyk(37.5%, 58.9%, 0%, 24.7%)
CIE-LABlab(43.35, 41.86, -53.39)
CIE-LCHlch(43.35, 67.85, 308.10°)
OKLaboklab(52.93% 0.077 -0.1517)
OKLCHoklch(52.93% 0.17 296.9)
XYZxyz(20.0537, 13.3905, 51.3870)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FC0 #97C04F
analogous
#4F5EC0 #784FC0 #B04FC0
triadic
#784FC0 #C0784F #4FC078
tetradic
#784FC0 #C04F5E #97C04F #4FC0B0
square
#784FC0 #C04F5E #97C04F #4FC0B0
split-complementary
#784FC0 #C0B04F #5EC04F
monochromatic
#41276D #5B379A #784FC0 #9B7CD0 #BDA9E0

Accessibility & contrast

On white

5.71
#784FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#784FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FC0
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FC0#FFFFFF#000000##FFFFFF
##784FC01.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A67C4
Deuteranopia (green-blind)
#2265BD
Tritanopia (blue-blind)
#676780
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784fc0;
/* rgb */ color: rgb(120, 79, 192);
/* oklch */ color: oklch(52.9% 0.170 296.9);
Tailwind
colors: {
  custom: {
    50: '#a382d4',
    500: '#784fc0',
    950: '#000000',
  },
}
SCSS
$custom: #784fc0;
$custom-light: #a382d4;
$custom-dark: #000000;
JSON
{
  "hex": "#784fc0",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 261.77,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52934,
    "c": 0.17013,
    "h": 296.9
  },
  "luminance": 0.13391
}

Semantic roles & 50–950 ramp

primary
#784FC0
secondary
#BCCE9D
accent
#D751A6
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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