#784DBB#784DBB

#784DBB is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.167 H 298.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#784DBB
RGBrgb(120, 77, 187)
HSLhsl(263, 45%, 52%)
HSVhsv(263, 59%, 73%)
CMYKcmyk(35.8%, 58.8%, 0%, 26.7%)
CIE-LABlab(42.59, 41.66, -51.69)
CIE-LCHlch(42.59, 66.39, 308.87°)
OKLaboklab(52.28% 0.0796 -0.1467)
OKLCHoklch(52.28% 0.167 298.5)
XYZxyz(19.3670, 12.8885, 48.4714)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DBB #90BB4D
analogous
#4D59BB #784DBB #AF4DBB
triadic
#784DBB #BB784D #4DBB78
tetradic
#784DBB #BB4D59 #90BB4D #4DBBAF
square
#784DBB #BB4D59 #90BB4D #4DBBAF
split-complementary
#784DBB #BBAF4D #59BB4D
monochromatic
#402766 #5C3893 #784DBB #9A79CC #BBA6DD

Accessibility & contrast

On white

5.87
#784DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#784DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DBB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DBB#FFFFFF#000000##FFFFFF
##784DBB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F65BF
Deuteranopia (green-blind)
#2663B9
Tritanopia (blue-blind)
#69647C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784dbb;
/* rgb */ color: rgb(120, 77, 187);
/* oklch */ color: oklch(52.3% 0.167 298.5);
Tailwind
colors: {
  custom: {
    50: '#a380d0',
    500: '#784dbb',
    950: '#000000',
  },
}
SCSS
$custom: #784dbb;
$custom-light: #a380d0;
$custom-dark: #000000;
JSON
{
  "hex": "#784dbb",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 263.455,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5228,
    "c": 0.16685,
    "h": 298.5
  },
  "luminance": 0.12889
}

Semantic roles & 50–950 ramp

primary
#784DBB
secondary
#B7CA9A
accent
#D453A2
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #784DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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