#784FA5#784FA5

#784FA5 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.2% C 0.136 H 304.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#784FA5
RGBrgb(120, 79, 165)
HSLhsl(269, 35%, 48%)
HSVhsv(269, 52%, 65%)
CMYKcmyk(27.3%, 52.1%, 0%, 35.3%)
CIE-LABlab(41.69, 34.86, -40.16)
CIE-LCHlch(41.69, 53.18, 310.96°)
OKLaboklab(51.18% 0.0762 -0.1129)
OKLCHoklch(51.18% 0.136 304)
XYZxyz(17.3318, 12.3017, 37.0514)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FA5 #7CA54F
analogous
#4F51A5 #784FA5 #A34FA5
triadic
#784FA5 #A5784F #4FA578
tetradic
#784FA5 #A54F51 #7CA54F #4FA5A3
square
#784FA5 #A54F51 #7CA54F #4FA5A3
split-complementary
#784FA5 #A5A34F #51A54F
monochromatic
#3C2752 #5A3B7C #784FA5 #9775BD #B69ED1

Accessibility & contrast

On white

6.07
#784FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#784FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FA5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FA5#FFFFFF#000000##FFFFFF
##784FA51.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A8
Deuteranopia (green-blind)
#4062A3
Tritanopia (blue-blind)
#705F72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #784fa5;
/* rgb */ color: rgb(120, 79, 165);
/* oklch */ color: oklch(51.2% 0.136 304.0);
Tailwind
colors: {
  custom: {
    50: '#a181c0',
    500: '#784fa5',
    950: '#000000',
  },
}
SCSS
$custom: #784fa5;
$custom-light: #a181c0;
$custom-dark: #000000;
JSON
{
  "hex": "#784fa5",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 268.605,
    "s": 35.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51183,
    "c": 0.13618,
    "h": 304
  },
  "luminance": 0.12302
}

Semantic roles & 50–950 ramp

primary
#784FA5
secondary
#A9BD92
accent
#CB5D96
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #784FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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