#784FCC#784FCC

#784FCC is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.185 H 294.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#784FCC
RGBrgb(120, 79, 204)
HSLhsl(260, 55%, 55%)
HSVhsv(260, 61%, 80%)
CMYKcmyk(41.2%, 61.3%, 0%, 20%)
CIE-LABlab(44.15, 45.08, -59.04)
CIE-LCHlch(44.15, 74.28, 307.36°)
OKLaboklab(53.78% 0.0766 -0.1683)
OKLCHoklch(53.78% 0.185 294.5)
XYZxyz(21.4379, 13.9442, 58.6770)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FCC #A3CC4F
analogous
#4F64CC #784FCC #B64FCC
triadic
#784FCC #CC784F #4FCC78
tetradic
#784FCC #CC4F64 #A3CC4F #4FCCB6
square
#784FCC #CC4F64 #A3CC4F #4FCCB6
split-complementary
#784FCC #CCB64F #64CC4F
monochromatic
#41247D #5A32AC #784FCC #9C7EDA #C1AEE7

Accessibility & contrast

On white

5.54
#784FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#784FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FCC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FCC#FFFFFF#000000##FFFFFF
##784FCC1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#626B86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784fcc;
/* rgb */ color: rgb(120, 79, 204);
/* oklch */ color: oklch(53.8% 0.185 294.5);
Tailwind
colors: {
  custom: {
    50: '#a582dc',
    500: '#784fcc',
    950: '#000000',
  },
}
SCSS
$custom: #784fcc;
$custom-light: #a582dc;
$custom-dark: #000000;
JSON
{
  "hex": "#784fcc",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 259.68,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5378,
    "c": 0.18489,
    "h": 294.5
  },
  "luminance": 0.13945
}

Semantic roles & 50–950 ramp

primary
#784FCC
secondary
#C4D5A1
accent
#DE49AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #784FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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