#784EBD#784EBD

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

Color values

HEX#784EBD
RGBrgb(120, 78, 189)
HSLhsl(263, 46%, 52%)
HSVhsv(263, 59%, 74%)
CMYKcmyk(36.5%, 58.7%, 0%, 25.9%)
CIE-LABlab(42.94, 41.63, -52.30)
CIE-LCHlch(42.94, 66.85, 308.52°)
OKLaboklab(52.57% 0.0783 -0.1485)
OKLCHoklch(52.57% 0.168 297.8)
XYZxyz(19.6531, 13.1157, 49.6304)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EBD #93BD4E
analogous
#4E5BBD #784EBD #B04EBD
triadic
#784EBD #BD784E #4EBD78
tetradic
#784EBD #BD4E5B #93BD4E #4EBDB0
square
#784EBD #BD4E5B #93BD4E #4EBDB0
split-complementary
#784EBD #BDB04E #5BBD4E
monochromatic
#402769 #5B3896 #784EBD #9A7BCE #BCA7DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##784EBD#FFFFFF#000000##FFFFFF
##784EBD1.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)
#0E66C1
Deuteranopia (green-blind)
#2564BB
Tritanopia (blue-blind)
#68657E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784ebd;
/* rgb */ color: rgb(120, 78, 189);
/* oklch */ color: oklch(52.6% 0.168 297.8);
Tailwind
colors: {
  custom: {
    50: '#a381d1',
    500: '#784ebd',
    950: '#000000',
  },
}
SCSS
$custom: #784ebd;
$custom-light: #a381d1;
$custom-dark: #000000;
JSON
{
  "hex": "#784ebd",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 262.703,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52572,
    "c": 0.16786,
    "h": 297.8
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#784EBD
secondary
#B9CC9B
accent
#D552A4
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #784EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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