#784CD3#784CD3

#784CD3 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.197 H 293.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#784CD3
RGBrgb(120, 76, 211)
HSLhsl(260, 61%, 56%)
HSVhsv(260, 64%, 83%)
CMYKcmyk(43.1%, 64%, 0%, 17.3%)
CIE-LABlab(44.04, 48.61, -63.26)
CIE-LCHlch(44.04, 79.77, 307.54°)
OKLaboklab(53.85% 0.0793 -0.1807)
OKLCHoklch(53.85% 0.197 293.7)
XYZxyz(22.0849, 13.8645, 63.1279)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CD3 #A7D34C
analogous
#4C64D3 #784CD3 #BC4CD3
triadic
#784CD3 #D3784C #4CD378
tetradic
#784CD3 #D34C64 #A7D34C #4CD3BC
square
#784CD3 #D34C64 #A7D34C #4CD3BC
split-complementary
#784CD3 #D3BC4C #64D34C
monochromatic
#412084 #592DB5 #784CD3 #9D7DDF #C2AEEB

Accessibility & contrast

On white

5.57
#784CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#784CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CD3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CD3#FFFFFF#000000##FFFFFF
##784CD31.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#5F6C89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784cd3;
/* rgb */ color: rgb(120, 76, 211);
/* oklch */ color: oklch(53.9% 0.197 293.7);
Tailwind
colors: {
  custom: {
    50: '#a580e1',
    500: '#784cd3',
    950: '#000000',
  },
}
SCSS
$custom: #784cd3;
$custom-light: #a580e1;
$custom-dark: #000000;
JSON
{
  "hex": "#784cd3",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 259.556,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53853,
    "c": 0.19732,
    "h": 293.7
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#784CD3
secondary
#C7D9A2
accent
#E444B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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