#784ABE#784ABE

#784ABE is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.175 H 298.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#784ABE
RGBrgb(120, 74, 190)
HSLhsl(264, 47%, 52%)
HSVhsv(264, 61%, 75%)
CMYKcmyk(36.8%, 61.1%, 0%, 25.5%)
CIE-LABlab(42.17, 44.11, -54.13)
CIE-LCHlch(42.17, 69.82, 309.18°)
OKLaboklab(52.03% 0.0831 -0.1538)
OKLCHoklch(52.03% 0.175 298.4)
XYZxyz(19.4864, 12.6081, 50.1122)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784ABE #90BE4A
analogous
#4A56BE #784ABE #B24ABE
triadic
#784ABE #BE784A #4ABE78
tetradic
#784ABE #BE4A56 #90BE4A #4ABEB2
square
#784ABE #BE4A56 #90BE4A #4ABEB2
split-complementary
#784ABE #BEB24A #56BE4A
monochromatic
#402568 #5C3695 #784ABE #9A77CE #BBA4DE

Accessibility & contrast

On white

5.96
#784ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#784ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784ABE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784ABE#FFFFFF#000000##FFFFFF
##784ABE1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#1A62BB
Tritanopia (blue-blind)
#68637D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #784abe;
/* rgb */ color: rgb(120, 74, 190);
/* oklch */ color: oklch(52.0% 0.175 298.4);
Tailwind
colors: {
  custom: {
    50: '#a47fd2',
    500: '#784abe',
    950: '#000000',
  },
}
SCSS
$custom: #784abe;
$custom-light: #a47fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#784abe",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 263.793,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52031,
    "c": 0.17484,
    "h": 298.4
  },
  "luminance": 0.12608
}

Semantic roles & 50–950 ramp

primary
#784ABE
secondary
#B7CB98
accent
#D751A2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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