#784DC7#784DC7

#784DC7 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.182 H 295.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#784DC7
RGBrgb(120, 77, 199)
HSLhsl(261, 52%, 54%)
HSVhsv(261, 61%, 78%)
CMYKcmyk(39.7%, 61.3%, 0%, 22%)
CIE-LABlab(43.40, 44.84, -57.38)
CIE-LCHlch(43.40, 72.82, 308.01°)
OKLaboklab(53.12% 0.0791 -0.1634)
OKLCHoklch(53.12% 0.182 295.8)
XYZxyz(20.7057, 13.4239, 55.5219)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DC7 #9CC74D
analogous
#4D5FC7 #784DC7 #B54DC7
triadic
#784DC7 #C7784D #4DC778
tetradic
#784DC7 #C74D5F #9CC74D #4DC7B5
square
#784DC7 #C74D5F #9CC74D #4DC7B5
split-complementary
#784DC7 #C7B54D #5FC74D
monochromatic
#412575 #5B33A3 #784DC7 #9B7CD6 #BFAAE4

Accessibility & contrast

On white

5.70
#784DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784DC7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DC7#FFFFFF#000000##FFFFFF
##784DC71.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#0965C4
Tritanopia (blue-blind)
#646883
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784dc7;
/* rgb */ color: rgb(120, 77, 199);
/* oklch */ color: oklch(53.1% 0.182 295.8);
Tailwind
colors: {
  custom: {
    50: '#a481d9',
    500: '#784dc7',
    950: '#000000',
  },
}
SCSS
$custom: #784dc7;
$custom-light: #a481d9;
$custom-dark: #000000;
JSON
{
  "hex": "#784dc7",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 261.148,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53119,
    "c": 0.18155,
    "h": 295.8
  },
  "luminance": 0.13424
}

Semantic roles & 50–950 ramp

primary
#784DC7
secondary
#C0D29E
accent
#DC4CA9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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