#784BDC#784BDC

#784BDC is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.209 H 292.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#784BDC
RGBrgb(120, 75, 220)
HSLhsl(259, 67%, 58%)
HSVhsv(259, 66%, 86%)
CMYKcmyk(45.5%, 65.9%, 0%, 13.7%)
CIE-LABlab(44.51, 51.57, -67.64)
CIE-LCHlch(44.51, 85.06, 307.32°)
OKLaboklab(54.4% 0.0793 -0.1936)
OKLCHoklch(54.4% 0.209 292.3)
XYZxyz(23.1765, 14.1918, 69.2144)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BDC #AFDC4B
analogous
#4B66DC #784BDC #C14BDC
triadic
#784BDC #DC784B #4BDC78
tetradic
#784BDC #DC4B66 #AFDC4B #4BDCC1
square
#784BDC #DC4B66 #AFDC4B #4BDCC1
split-complementary
#784BDC #DCC14B #66DC4B
monochromatic
#401C91 #5726C4 #784BDC #9E7EE6 #C5B1F0

Accessibility & contrast

On white

5.47
#784BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#784BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BDC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BDC#FFFFFF#000000##FFFFFF
##784BDC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#5A6E8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784bdc;
/* rgb */ color: rgb(120, 75, 220);
/* oklch */ color: oklch(54.4% 0.209 292.3);
Tailwind
colors: {
  custom: {
    50: '#a780e8',
    500: '#784bdc',
    950: '#000000',
  },
}
SCSS
$custom: #784bdc;
$custom-light: #a780e8;
$custom-dark: #000000;
JSON
{
  "hex": "#784bdc",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 258.621,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.544,
    "c": 0.2092,
    "h": 292.3
  },
  "luminance": 0.14193
}

Semantic roles & 50–950 ramp

primary
#784BDC
secondary
#CCDEA4
accent
#EA3DB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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