#784ABF#784ABF

#784ABF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.176 H 298.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#784ABF
RGBrgb(120, 74, 191)
HSLhsl(264, 48%, 52%)
HSVhsv(264, 61%, 75%)
CMYKcmyk(37.2%, 61.3%, 0%, 25.1%)
CIE-LABlab(42.23, 44.37, -54.60)
CIE-LCHlch(42.23, 70.36, 309.10°)
OKLaboklab(52.1% 0.083 -0.1552)
OKLCHoklch(52.1% 0.176 298.1)
XYZxyz(19.5961, 12.6520, 50.6898)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784ABF #91BF4A
analogous
#4A57BF #784ABF #B34ABF
triadic
#784ABF #BF784A #4ABF78
tetradic
#784ABF #BF4A57 #91BF4A #4ABFB3
square
#784ABF #BF4A57 #91BF4A #4ABFB3
split-complementary
#784ABF #BFB34A #57BF4A
monochromatic
#402569 #5C3597 #784ABF #9A77CF #BBA4DF

Accessibility & contrast

On white

5.95
#784ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#784ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784ABF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784ABF#FFFFFF#000000##FFFFFF
##784ABF1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#1862BC
Tritanopia (blue-blind)
#68637D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784abf;
/* rgb */ color: rgb(120, 74, 191);
/* oklch */ color: oklch(52.1% 0.176 298.1);
Tailwind
colors: {
  custom: {
    50: '#a47fd3',
    500: '#784abf',
    950: '#000000',
  },
}
SCSS
$custom: #784abf;
$custom-light: #a47fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#784abf",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 263.59,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52101,
    "c": 0.17605,
    "h": 298.1
  },
  "luminance": 0.12652
}

Semantic roles & 50–950 ramp

primary
#784ABF
secondary
#B8CC99
accent
#D750A2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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