#784FA9#784FA9

#784FA9 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.141 H 302.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#784FA9
RGBrgb(120, 79, 169)
HSLhsl(267, 36%, 49%)
HSVhsv(267, 53%, 66%)
CMYKcmyk(29%, 53.3%, 0%, 33.7%)
CIE-LABlab(41.92, 35.87, -42.17)
CIE-LCHlch(41.92, 55.36, 310.39°)
OKLaboklab(51.43% 0.0765 -0.1188)
OKLCHoklch(51.43% 0.141 302.8)
XYZxyz(17.7015, 12.4496, 38.9989)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FA9 #80A94F
analogous
#4F53A9 #784FA9 #A54FA9
triadic
#784FA9 #A9784F #4FA978
tetradic
#784FA9 #A94F53 #80A94F #4FA9A5
square
#784FA9 #A94F53 #80A94F #4FA9A5
split-complementary
#784FA9 #A9A54F #53A94F
monochromatic
#3D2856 #5A3C7F #784FA9 #9776BF #B7A0D3

Accessibility & contrast

On white

6.02
#784FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#784FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FA9
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FA9#FFFFFF#000000##FFFFFF
##784FA91.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AC
Deuteranopia (green-blind)
#3C63A7
Tritanopia (blue-blind)
#6F6074
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #784fa9;
/* rgb */ color: rgb(120, 79, 169);
/* oklch */ color: oklch(51.4% 0.141 302.8);
Tailwind
colors: {
  custom: {
    50: '#a281c3',
    500: '#784fa9',
    950: '#000000',
  },
}
SCSS
$custom: #784fa9;
$custom-light: #a281c3;
$custom-dark: #000000;
JSON
{
  "hex": "#784fa9",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 267.333,
    "s": 36.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51428,
    "c": 0.14126,
    "h": 302.8
  },
  "luminance": 0.1245
}

Semantic roles & 50–950 ramp

primary
#784FA9
secondary
#ACC094
accent
#CC5C99
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #784FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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