#784BA3#784BA3

#784BA3 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.140 H 305.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#784BA3
RGBrgb(120, 75, 163)
HSLhsl(271, 37%, 47%)
HSVhsv(271, 54%, 64%)
CMYKcmyk(26.4%, 54%, 0%, 36.1%)
CIE-LABlab(40.69, 36.66, -40.57)
CIE-LCHlch(40.69, 54.68, 312.10°)
OKLaboklab(50.4% 0.0816 -0.1141)
OKLCHoklch(50.4% 0.14 305.6)
XYZxyz(16.8713, 11.6697, 36.0069)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BA3 #76A34B
analogous
#4C4BA3 #784BA3 #A34BA2
triadic
#784BA3 #A3784B #4BA378
tetradic
#784BA3 #A34C4B #76A34B #4BA2A3
square
#784BA3 #A34C4B #76A34B #4BA2A3
split-complementary
#784BA3 #A2A34B #4BA34C
monochromatic
#3A244F #593879 #784BA3 #966FBD #B599D0

Accessibility & contrast

On white

6.30
#784BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#784BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BA3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BA3#FFFFFF#000000##FFFFFF
##784BA31.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA6
Deuteranopia (green-blind)
#3D60A1
Tritanopia (blue-blind)
#715B70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #784ba3;
/* rgb */ color: rgb(120, 75, 163);
/* oklch */ color: oklch(50.4% 0.140 305.6);
Tailwind
colors: {
  custom: {
    50: '#a17fbf',
    500: '#784ba3',
    950: '#000000',
  },
}
SCSS
$custom: #784ba3;
$custom-light: #a17fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#784ba3",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 163
  },
  "hsl": {
    "h": 270.682,
    "s": 36.975,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50402,
    "c": 0.14023,
    "h": 305.6
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#784BA3
secondary
#A4BC8E
accent
#CD5B93
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #784BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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