#784CA0#784CA0

#784CA0 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.135 H 306.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#784CA0
RGBrgb(120, 76, 160)
HSLhsl(271, 36%, 46%)
HSVhsv(271, 53%, 63%)
CMYKcmyk(25%, 52.5%, 0%, 37.3%)
CIE-LABlab(40.74, 35.35, -38.70)
CIE-LCHlch(40.74, 52.42, 312.41°)
OKLaboklab(50.38% 0.0799 -0.1086)
OKLCHoklch(50.38% 0.135 306.4)
XYZxyz(16.6740, 11.7002, 34.6308)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CA0 #74A04C
analogous
#4E4CA0 #784CA0 #A04C9E
triadic
#784CA0 #A0784C #4CA078
tetradic
#784CA0 #A04E4C #74A04C #4C9EA0
square
#784CA0 #A04E4C #74A04C #4C9EA0
split-complementary
#784CA0 #9EA04C #4CA04E
monochromatic
#3A254D #593877 #784CA0 #966FBA #B498CE

Accessibility & contrast

On white

6.29
#784CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#784CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CA0
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CA0#FFFFFF#000000##FFFFFF
##784CA01.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA3
Deuteranopia (green-blind)
#40609E
Tritanopia (blue-blind)
#725B6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #784ca0;
/* rgb */ color: rgb(120, 76, 160);
/* oklch */ color: oklch(50.4% 0.135 306.4);
Tailwind
colors: {
  custom: {
    50: '#a17fbc',
    500: '#784ca0',
    950: '#000000',
  },
}
SCSS
$custom: #784ca0;
$custom-light: #a17fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#784ca0",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 160
  },
  "hsl": {
    "h": 271.429,
    "s": 35.593,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50382,
    "c": 0.13486,
    "h": 306.4
  },
  "luminance": 0.117
}

Semantic roles & 50–950 ramp

primary
#784CA0
secondary
#A3BB8D
accent
#CC5C91
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #784CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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