#784ABB#784ABB

#784ABB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.171 H 299.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#784ABB
RGBrgb(120, 74, 187)
HSLhsl(264, 45%, 51%)
HSVhsv(264, 60%, 73%)
CMYKcmyk(35.8%, 60.4%, 0%, 26.7%)
CIE-LABlab(41.97, 43.33, -52.70)
CIE-LCHlch(41.97, 68.22, 309.43°)
OKLaboklab(51.82% 0.0832 -0.1496)
OKLCHoklch(51.82% 0.171 299.1)
XYZxyz(19.1619, 12.4783, 48.4031)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784ABB #8DBB4A
analogous
#4A54BB #784ABB #B14ABB
triadic
#784ABB #BB784A #4ABB78
tetradic
#784ABB #BB4A54 #8DBB4A #4ABBB1
square
#784ABB #BB4A54 #8DBB4A #4ABBB1
split-complementary
#784ABB #BBB14A #54BB4A
monochromatic
#3F2665 #5B3791 #784ABB #9976CC #BAA3DC

Accessibility & contrast

On white

6.01
#784ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784ABB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784ABB#FFFFFF#000000##FFFFFF
##784ABB1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#2062B8
Tritanopia (blue-blind)
#69627B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #784abb;
/* rgb */ color: rgb(120, 74, 187);
/* oklch */ color: oklch(51.8% 0.171 299.1);
Tailwind
colors: {
  custom: {
    50: '#a37fd0',
    500: '#784abb',
    950: '#000000',
  },
}
SCSS
$custom: #784abb;
$custom-light: #a37fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#784abb",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 264.425,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51821,
    "c": 0.17121,
    "h": 299.1
  },
  "luminance": 0.12478
}

Semantic roles & 50–950 ramp

primary
#784ABB
secondary
#B5C997
accent
#D553A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #784ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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