#784AA3#784AA3

#784AA3 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.2% C 0.142 H 305.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#784AA3
RGBrgb(120, 74, 163)
HSLhsl(271, 38%, 46%)
HSVhsv(271, 55%, 64%)
CMYKcmyk(26.4%, 54.6%, 0%, 36.1%)
CIE-LABlab(40.47, 37.23, -40.92)
CIE-LCHlch(40.47, 55.32, 312.30°)
OKLaboklab(50.24% 0.0829 -0.1151)
OKLCHoklch(50.24% 0.142 305.8)
XYZxyz(16.8040, 11.5351, 35.9845)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AA3 #75A34A
analogous
#4C4AA3 #784AA3 #A34AA2
triadic
#784AA3 #A3784A #4AA378
tetradic
#784AA3 #A34C4A #75A34A #4AA2A3
square
#784AA3 #A34C4A #75A34A #4AA2A3
split-complementary
#784AA3 #A2A34A #4AA34C
monochromatic
#3A244F #593779 #784AA3 #966DBD #B597D0

Accessibility & contrast

On white

6.35
#784AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#784AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AA3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AA3#FFFFFF#000000##FFFFFF
##784AA31.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA6
Deuteranopia (green-blind)
#3B60A1
Tritanopia (blue-blind)
#715A6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #784aa3;
/* rgb */ color: rgb(120, 74, 163);
/* oklch */ color: oklch(50.2% 0.142 305.8);
Tailwind
colors: {
  custom: {
    50: '#a17ebf',
    500: '#784aa3',
    950: '#000000',
  },
}
SCSS
$custom: #784aa3;
$custom-light: #a17ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#784aa3",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 163
  },
  "hsl": {
    "h": 271.011,
    "s": 37.553,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5024,
    "c": 0.14186,
    "h": 305.8
  },
  "luminance": 0.11535
}

Semantic roles & 50–950 ramp

primary
#784AA3
secondary
#A4BC8D
accent
#CE5A92
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #784AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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