#784ABC#784ABC

#784ABC is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.172 H 298.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#784ABC
RGBrgb(120, 74, 188)
HSLhsl(264, 46%, 51%)
HSVhsv(264, 61%, 74%)
CMYKcmyk(36.2%, 60.6%, 0%, 26.3%)
CIE-LABlab(42.03, 43.59, -53.18)
CIE-LCHlch(42.03, 68.76, 309.34°)
OKLaboklab(51.89% 0.0832 -0.151)
OKLCHoklch(51.89% 0.172 298.8)
XYZxyz(19.2694, 12.5213, 48.9688)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784ABC #8EBC4A
analogous
#4A55BC #784ABC #B14ABC
triadic
#784ABC #BC784A #4ABC78
tetradic
#784ABC #BC4A55 #8EBC4A #4ABCB1
square
#784ABC #BC4A55 #8EBC4A #4ABCB1
split-complementary
#784ABC #BCB14A #55BC4A
monochromatic
#402666 #5B3693 #784ABC #9977CD #BBA3DD

Accessibility & contrast

On white

5.99
#784ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#784ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784ABC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784ABC#FFFFFF#000000##FFFFFF
##784ABC1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#1E62B9
Tritanopia (blue-blind)
#69627C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #784abc;
/* rgb */ color: rgb(120, 74, 188);
/* oklch */ color: oklch(51.9% 0.172 298.8);
Tailwind
colors: {
  custom: {
    50: '#a37fd1',
    500: '#784abc',
    950: '#000000',
  },
}
SCSS
$custom: #784abc;
$custom-light: #a37fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#784abc",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 264.211,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.17243,
    "h": 298.8
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#784ABC
secondary
#B6CA98
accent
#D652A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #784ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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