#784BA9#784BA9

#784BA9 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.148 H 303.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#784BA9
RGBrgb(120, 75, 169)
HSLhsl(269, 39%, 48%)
HSVhsv(269, 56%, 66%)
CMYKcmyk(29%, 55.6%, 0%, 33.7%)
CIE-LABlab(41.04, 38.16, -43.58)
CIE-LCHlch(41.04, 57.92, 311.21°)
OKLaboklab(50.78% 0.0819 -0.1229)
OKLCHoklch(50.78% 0.148 303.7)
XYZxyz(17.4216, 11.8898, 38.9056)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BA9 #7CA94B
analogous
#4B4DA9 #784BA9 #A74BA9
triadic
#784BA9 #A9784B #4BA978
tetradic
#784BA9 #A94B4D #7CA94B #4BA9A7
square
#784BA9 #A94B4D #7CA94B #4BA9A7
split-complementary
#784BA9 #A9A74B #4DA94B
monochromatic
#3C2554 #5A387F #784BA9 #9771C0 #B69CD3

Accessibility & contrast

On white

6.22
#784BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#784BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BA9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BA9#FFFFFF#000000##FFFFFF
##784BA91.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AC
Deuteranopia (green-blind)
#3861A7
Tritanopia (blue-blind)
#6F5D73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #784ba9;
/* rgb */ color: rgb(120, 75, 169);
/* oklch */ color: oklch(50.8% 0.148 303.7);
Tailwind
colors: {
  custom: {
    50: '#a27fc3',
    500: '#784ba9',
    950: '#000000',
  },
}
SCSS
$custom: #784ba9;
$custom-light: #a27fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#784ba9",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 169
  },
  "hsl": {
    "h": 268.723,
    "s": 38.525,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50777,
    "c": 0.14766,
    "h": 303.7
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#784BA9
secondary
#A9BF90
accent
#CE5996
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #784BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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