#784DC5#784DC5

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

Color values

HEX#784DC5
RGBrgb(120, 77, 197)
HSLhsl(262, 51%, 54%)
HSVhsv(262, 61%, 77%)
CMYKcmyk(39.1%, 60.9%, 0%, 22.7%)
CIE-LABlab(43.26, 44.31, -56.44)
CIE-LCHlch(43.26, 71.75, 308.13°)
OKLaboklab(52.98% 0.0792 -0.1606)
OKLCHoklch(52.98% 0.179 296.3)
XYZxyz(20.4750, 13.3317, 54.3070)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DC5 #9AC54D
analogous
#4D5EC5 #784DC5 #B44DC5
triadic
#784DC5 #C5784D #4DC578
tetradic
#784DC5 #C54D5E #9AC54D #4DC5B4
square
#784DC5 #C54D5E #9AC54D #4DC5B4
split-complementary
#784DC5 #C5B44D #5EC54D
monochromatic
#412572 #5B34A0 #784DC5 #9B7BD4 #BEA9E3

Accessibility & contrast

On white

5.73
#784DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#784DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DC5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DC5#FFFFFF#000000##FFFFFF
##784DC51.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#1165C2
Tritanopia (blue-blind)
#656782
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784dc5;
/* rgb */ color: rgb(120, 77, 197);
/* oklch */ color: oklch(53.0% 0.179 296.3);
Tailwind
colors: {
  custom: {
    50: '#a481d7',
    500: '#784dc5',
    950: '#000000',
  },
}
SCSS
$custom: #784dc5;
$custom-light: #a481d7;
$custom-dark: #000000;
JSON
{
  "hex": "#784dc5",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 261.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52977,
    "c": 0.17912,
    "h": 296.3
  },
  "luminance": 0.13332
}

Semantic roles & 50–950 ramp

primary
#784DC5
secondary
#BED19D
accent
#DA4DA8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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