#784FB9#784FB9

#784FB9 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.5% C 0.161 H 298.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#784FB9
RGBrgb(120, 79, 185)
HSLhsl(263, 43%, 52%)
HSVhsv(263, 57%, 73%)
CMYKcmyk(35.1%, 57.3%, 0%, 27.5%)
CIE-LABlab(42.89, 40.01, -50.03)
CIE-LCHlch(42.89, 64.06, 308.65°)
OKLaboklab(52.46% 0.0771 -0.1418)
OKLCHoklch(52.46% 0.161 298.5)
XYZxyz(19.2965, 13.0876, 47.3991)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FB9 #90B94F
analogous
#4F5BB9 #784FB9 #AD4FB9
triadic
#784FB9 #B9784F #4FB978
tetradic
#784FB9 #B94F5B #90B94F #4FB9AD
square
#784FB9 #B94F5B #90B94F #4FB9AD
split-complementary
#784FB9 #B9AD4F #5BB94F
monochromatic
#402865 #5C3A91 #784FB9 #9A7BCA #BBA7DC

Accessibility & contrast

On white

5.80
#784FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#784FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FB9
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FB9#FFFFFF#000000##FFFFFF
##784FB91.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C65BD
Deuteranopia (green-blind)
#2C64B7
Tritanopia (blue-blind)
#6A657C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784fb9;
/* rgb */ color: rgb(120, 79, 185);
/* oklch */ color: oklch(52.5% 0.161 298.5);
Tailwind
colors: {
  custom: {
    50: '#a382cf',
    500: '#784fb9',
    950: '#000000',
  },
}
SCSS
$custom: #784fb9;
$custom-light: #a382cf;
$custom-dark: #000000;
JSON
{
  "hex": "#784fb9",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 263.208,
    "s": 43.089,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52459,
    "c": 0.16141,
    "h": 298.5
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#784FB9
secondary
#B7C99B
accent
#D355A2
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #784FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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