#784EBC#784EBC

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

Color values

HEX#784EBC
RGBrgb(120, 78, 188)
HSLhsl(263, 45%, 52%)
HSVhsv(263, 59%, 74%)
CMYKcmyk(36.2%, 58.5%, 0%, 26.3%)
CIE-LABlab(42.87, 41.36, -51.82)
CIE-LCHlch(42.87, 66.31, 308.60°)
OKLaboklab(52.5% 0.0783 -0.1471)
OKLCHoklch(52.5% 0.167 298)
XYZxyz(19.5450, 13.0724, 49.0607)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EBC #92BC4E
analogous
#4E5BBC #784EBC #AF4EBC
triadic
#784EBC #BC784E #4EBC78
tetradic
#784EBC #BC4E5B #92BC4E #4EBCAF
square
#784EBC #BC4E5B #92BC4E #4EBCAF
split-complementary
#784EBC #BCAF4E #5BBC4E
monochromatic
#402768 #5B3895 #784EBC #9A7ACD #BCA7DE

Accessibility & contrast

On white

5.81
#784EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784EBC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EBC#FFFFFF#000000##FFFFFF
##784EBC1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1165C0
Deuteranopia (green-blind)
#2764BA
Tritanopia (blue-blind)
#69657D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784ebc;
/* rgb */ color: rgb(120, 78, 188);
/* oklch */ color: oklch(52.5% 0.167 298.0);
Tailwind
colors: {
  custom: {
    50: '#a381d1',
    500: '#784ebc',
    950: '#000000',
  },
}
SCSS
$custom: #784ebc;
$custom-light: #a381d1;
$custom-dark: #000000;
JSON
{
  "hex": "#784ebc",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 262.909,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52504,
    "c": 0.16662,
    "h": 298
  },
  "luminance": 0.13073
}

Semantic roles & 50–950 ramp

primary
#784EBC
secondary
#B9CB9B
accent
#D553A3
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #784EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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