#784DDC#784DDC

#784DDC is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.207 H 292.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#784DDC
RGBrgb(120, 77, 220)
HSLhsl(258, 67%, 58%)
HSVhsv(258, 65%, 86%)
CMYKcmyk(45.5%, 65%, 0%, 13.7%)
CIE-LABlab(44.90, 50.51, -67.01)
CIE-LCHlch(44.90, 83.91, 307.01°)
OKLaboklab(54.68% 0.0773 -0.1917)
OKLCHoklch(54.68% 0.207 292)
XYZxyz(23.3143, 14.4674, 69.2603)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DDC #B1DC4D
analogous
#4D69DC #784DDC #BF4DDC
triadic
#784DDC #DC784D #4DDC78
tetradic
#784DDC #DC4D69 #B1DC4D #4DDCBF
square
#784DDC #DC4D69 #B1DC4D #4DDCBF
split-complementary
#784DDC #DCBF4D #69DC4D
monochromatic
#401D92 #5627C5 #784DDC #9F80E6 #C6B3F0

Accessibility & contrast

On white

5.39
#784DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#784DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DDC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DDC#FFFFFF#000000##FFFFFF
##784DDC1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#5A6F8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784ddc;
/* rgb */ color: rgb(120, 77, 220);
/* oklch */ color: oklch(54.7% 0.207 292.0);
Tailwind
colors: {
  custom: {
    50: '#a681e8',
    500: '#784ddc',
    950: '#000000',
  },
}
SCSS
$custom: #784ddc;
$custom-light: #a681e8;
$custom-dark: #000000;
JSON
{
  "hex": "#784ddc",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 258.042,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5468,
    "c": 0.20672,
    "h": 292
  },
  "luminance": 0.14468
}

Semantic roles & 50–950 ramp

primary
#784DDC
secondary
#CEDFA6
accent
#EA3EB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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