#784AD5#784AD5

#784AD5 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.7% C 0.202 H 293.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#784AD5
RGBrgb(120, 74, 213)
HSLhsl(260, 62%, 56%)
HSVhsv(260, 65%, 84%)
CMYKcmyk(43.7%, 65.3%, 0%, 16.5%)
CIE-LABlab(43.79, 50.21, -64.80)
CIE-LCHlch(43.79, 81.98, 307.77°)
OKLaboklab(53.72% 0.0812 -0.1852)
OKLCHoklch(53.72% 0.202 293.7)
XYZxyz(22.2015, 13.6941, 64.4114)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AD5 #A7D54A
analogous
#4A62D5 #784AD5 #BE4AD5
triadic
#784AD5 #D5784A #4AD578
tetradic
#784AD5 #D54A62 #A7D54A #4AD5BE
square
#784AD5 #D54A62 #A7D54A #4AD5BE
split-complementary
#784AD5 #D5BE4A #62D54A
monochromatic
#411F86 #592BB7 #784AD5 #9D7CE1 #C2ADEC

Accessibility & contrast

On white

5.62
#784AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#784AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AD5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AD5#FFFFFF#000000##FFFFFF
##784AD51.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#5E6B89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784ad5;
/* rgb */ color: rgb(120, 74, 213);
/* oklch */ color: oklch(53.7% 0.202 293.7);
Tailwind
colors: {
  custom: {
    50: '#a67fe3',
    500: '#784ad5',
    950: '#000000',
  },
}
SCSS
$custom: #784ad5;
$custom-light: #a67fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#784ad5",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 213
  },
  "hsl": {
    "h": 259.856,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53721,
    "c": 0.20224,
    "h": 293.7
  },
  "luminance": 0.13695
}

Semantic roles & 50–950 ramp

primary
#784AD5
secondary
#C7DAA1
accent
#E542AF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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