#784FA3#784FA3

#784FA3 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.1% C 0.134 H 304.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#784FA3
RGBrgb(120, 79, 163)
HSLhsl(269, 35%, 47%)
HSVhsv(269, 52%, 64%)
CMYKcmyk(26.4%, 51.5%, 0%, 36.1%)
CIE-LABlab(41.58, 34.36, -39.15)
CIE-LCHlch(41.58, 52.09, 311.27°)
OKLaboklab(51.06% 0.076 -0.1099)
OKLCHoklch(51.06% 0.134 304.7)
XYZxyz(17.1512, 12.2295, 36.1002)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FA3 #7AA34F
analogous
#4F50A3 #784FA3 #A24FA3
triadic
#784FA3 #A3784F #4FA378
tetradic
#784FA3 #A34F50 #7AA34F #4FA3A2
square
#784FA3 #A34F50 #7AA34F #4FA3A2
split-complementary
#784FA3 #A3A24F #50A34F
monochromatic
#3B2751 #5A3B7A #784FA3 #9774BB #B69DCF

Accessibility & contrast

On white

6.09
#784FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#784FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FA3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FA3#FFFFFF#000000##FFFFFF
##784FA31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A6
Deuteranopia (green-blind)
#4162A1
Tritanopia (blue-blind)
#715E71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #784fa3;
/* rgb */ color: rgb(120, 79, 163);
/* oklch */ color: oklch(51.1% 0.134 304.7);
Tailwind
colors: {
  custom: {
    50: '#a181bf',
    500: '#784fa3',
    950: '#000000',
  },
}
SCSS
$custom: #784fa3;
$custom-light: #a181bf;
$custom-dark: #000000;
JSON
{
  "hex": "#784fa3",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 269.286,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51062,
    "c": 0.13365,
    "h": 304.7
  },
  "luminance": 0.12229
}

Semantic roles & 50–950 ramp

primary
#784FA3
secondary
#A7BC91
accent
#CB5D95
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #784FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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