#784DC6#784DC6

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

Color values

HEX#784DC6
RGBrgb(120, 77, 198)
HSLhsl(261, 51%, 54%)
HSVhsv(261, 61%, 78%)
CMYKcmyk(39.4%, 61.1%, 0%, 22.4%)
CIE-LABlab(43.33, 44.57, -56.91)
CIE-LCHlch(43.33, 72.29, 308.07°)
OKLaboklab(53.05% 0.0792 -0.162)
OKLCHoklch(53.05% 0.18 296)
XYZxyz(20.5900, 13.3776, 54.9125)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DC6 #9BC64D
analogous
#4D5FC6 #784DC6 #B44DC6
triadic
#784DC6 #C6784D #4DC678
tetradic
#784DC6 #C64D5F #9BC64D #4DC6B4
square
#784DC6 #C64D5F #9BC64D #4DC6B4
split-complementary
#784DC6 #C6B44D #5FC64D
monochromatic
#412574 #5B34A2 #784DC6 #9B7BD5 #BEAAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##784DC6#FFFFFF#000000##FFFFFF
##784DC61.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)
#0067CA
Deuteranopia (green-blind)
#0D65C3
Tritanopia (blue-blind)
#656882
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784dc6;
/* rgb */ color: rgb(120, 77, 198);
/* oklch */ color: oklch(53.0% 0.180 296.0);
Tailwind
colors: {
  custom: {
    50: '#a481d8',
    500: '#784dc6',
    950: '#000000',
  },
}
SCSS
$custom: #784dc6;
$custom-light: #a481d8;
$custom-dark: #000000;
JSON
{
  "hex": "#784dc6",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 198
  },
  "hsl": {
    "h": 261.322,
    "s": 51.489,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53048,
    "c": 0.18033,
    "h": 296
  },
  "luminance": 0.13378
}

Semantic roles & 50–950 ramp

primary
#784DC6
secondary
#BFD19E
accent
#DB4DA8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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