#784EBB#784EBB

#784EBB is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.4% C 0.165 H 298.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#784EBB
RGBrgb(120, 78, 187)
HSLhsl(263, 44%, 52%)
HSVhsv(263, 58%, 73%)
CMYKcmyk(35.8%, 58.3%, 0%, 26.7%)
CIE-LABlab(42.81, 41.10, -51.34)
CIE-LCHlch(42.81, 65.77, 308.68°)
OKLaboklab(52.44% 0.0783 -0.1457)
OKLCHoklch(52.44% 0.165 298.3)
XYZxyz(19.4375, 13.0295, 48.4949)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EBB #91BB4E
analogous
#4E5BBB #784EBB #AF4EBB
triadic
#784EBB #BB784E #4EBB78
tetradic
#784EBB #BB4E5B #91BB4E #4EBBAF
square
#784EBB #BB4E5B #91BB4E #4EBBAF
split-complementary
#784EBB #BBAF4E #5BBB4E
monochromatic
#402867 #5C3993 #784EBB #9A7ACC #BBA6DD

Accessibility & contrast

On white

5.82
#784EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#784EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EBB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EBB#FFFFFF#000000##FFFFFF
##784EBB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BF
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#69657D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784ebb;
/* rgb */ color: rgb(120, 78, 187);
/* oklch */ color: oklch(52.4% 0.165 298.3);
Tailwind
colors: {
  custom: {
    50: '#a381d0',
    500: '#784ebb',
    950: '#000000',
  },
}
SCSS
$custom: #784ebb;
$custom-light: #a381d0;
$custom-dark: #000000;
JSON
{
  "hex": "#784ebb",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 263.119,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52436,
    "c": 0.16538,
    "h": 298.3
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#784EBB
secondary
#B8CA9B
accent
#D454A3
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #784EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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