#784AB3#784AB3

#784AB3 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.3% C 0.161 H 301.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#784AB3
RGBrgb(120, 74, 179)
HSLhsl(266, 42%, 50%)
HSVhsv(266, 59%, 70%)
CMYKcmyk(33%, 58.7%, 0%, 29.8%)
CIE-LABlab(41.45, 41.26, -48.84)
CIE-LCHlch(41.45, 63.93, 310.19°)
OKLaboklab(51.27% 0.0834 -0.1383)
OKLCHoklch(51.27% 0.161 301.1)
XYZxyz(18.3293, 12.1452, 44.0177)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AB3 #85B34A
analogous
#4A50B3 #784AB3 #AD4AB3
triadic
#784AB3 #B3784A #4AB378
tetradic
#784AB3 #B34A50 #85B34A #4AB3AD
square
#784AB3 #B34A50 #85B34A #4AB3AD
split-complementary
#784AB3 #B3AD4A #50B34A
monochromatic
#3E265C #5B3888 #784AB3 #9874C6 #B8A0D8

Accessibility & contrast

On white

6.12
#784AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#784AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AB3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AB3#FFFFFF#000000##FFFFFF
##784AB31.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1761B6
Deuteranopia (green-blind)
#2C61B1
Tritanopia (blue-blind)
#6C5F77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #784ab3;
/* rgb */ color: rgb(120, 74, 179);
/* oklch */ color: oklch(51.3% 0.161 301.1);
Tailwind
colors: {
  custom: {
    50: '#a37eca',
    500: '#784ab3',
    950: '#000000',
  },
}
SCSS
$custom: #784ab3;
$custom-light: #a37eca;
$custom-dark: #000000;
JSON
{
  "hex": "#784ab3",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 179
  },
  "hsl": {
    "h": 266.286,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51274,
    "c": 0.16149,
    "h": 301.1
  },
  "luminance": 0.12145
}

Semantic roles & 50–950 ramp

primary
#784AB3
secondary
#AFC494
accent
#D1569C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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