#784CC0#784CC0

#784CC0 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.174 H 297.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#784CC0
RGBrgb(120, 76, 192)
HSLhsl(263, 48%, 53%)
HSVhsv(263, 60%, 75%)
CMYKcmyk(37.5%, 60.4%, 0%, 24.7%)
CIE-LABlab(42.71, 43.53, -54.41)
CIE-LCHlch(42.71, 69.68, 308.66°)
OKLaboklab(52.47% 0.0806 -0.1547)
OKLCHoklch(52.47% 0.174 297.5)
XYZxyz(19.8422, 12.9674, 51.3165)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CC0 #94C04C
analogous
#4C5AC0 #784CC0 #B24CC0
triadic
#784CC0 #C0784C #4CC078
tetradic
#784CC0 #C04C5A #94C04C #4CC0B2
square
#784CC0 #C04C5A #94C04C #4CC0B2
split-complementary
#784CC0 #C0B24C #5AC04C
monochromatic
#40266C #5B3699 #784CC0 #9A79D0 #BCA7E0

Accessibility & contrast

On white

5.84
#784CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#784CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CC0
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CC0#FFFFFF#000000##FFFFFF
##784CC01.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#1B64BD
Tritanopia (blue-blind)
#67657F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784cc0;
/* rgb */ color: rgb(120, 76, 192);
/* oklch */ color: oklch(52.5% 0.174 297.5);
Tailwind
colors: {
  custom: {
    50: '#a480d4',
    500: '#784cc0',
    950: '#000000',
  },
}
SCSS
$custom: #784cc0;
$custom-light: #a480d4;
$custom-dark: #000000;
JSON
{
  "hex": "#784cc0",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 262.759,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52472,
    "c": 0.17442,
    "h": 297.5
  },
  "luminance": 0.12968
}

Semantic roles & 50–950 ramp

primary
#784CC0
secondary
#BACD9B
accent
#D850A4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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