#784DC3#784DC3

#784DC3 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.177 H 296.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#784DC3
RGBrgb(120, 77, 195)
HSLhsl(262, 50%, 53%)
HSVhsv(262, 61%, 76%)
CMYKcmyk(38.5%, 60.5%, 0%, 23.5%)
CIE-LABlab(43.12, 43.77, -55.50)
CIE-LCHlch(43.12, 70.68, 308.27°)
OKLaboklab(52.84% 0.0793 -0.1579)
OKLCHoklch(52.84% 0.177 296.7)
XYZxyz(20.2474, 13.2406, 53.1081)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DC3 #98C34D
analogous
#4D5DC3 #784DC3 #B34DC3
triadic
#784DC3 #C3784D #4DC378
tetradic
#784DC3 #C34D5D #98C34D #4DC3B3
square
#784DC3 #C34D5D #98C34D #4DC3B3
split-complementary
#784DC3 #C3B34D #5DC34D
monochromatic
#412670 #5B359E #784DC3 #9B7BD2 #BDA9E2

Accessibility & contrast

On white

5.76
#784DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#784DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DC3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DC3#FFFFFF#000000##FFFFFF
##784DC31.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#1764C0
Tritanopia (blue-blind)
#666781
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784dc3;
/* rgb */ color: rgb(120, 77, 195);
/* oklch */ color: oklch(52.8% 0.177 296.7);
Tailwind
colors: {
  custom: {
    50: '#a481d6',
    500: '#784dc3',
    950: '#000000',
  },
}
SCSS
$custom: #784dc3;
$custom-light: #a481d6;
$custom-dark: #000000;
JSON
{
  "hex": "#784dc3",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 261.864,
    "s": 49.58,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52835,
    "c": 0.17667,
    "h": 296.7
  },
  "luminance": 0.13241
}

Semantic roles & 50–950 ramp

primary
#784DC3
secondary
#BDCF9D
accent
#D94FA7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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