#784DDE#784DDE

#784DDE is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.8% C 0.209 H 291.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#784DDE
RGBrgb(120, 77, 222)
HSLhsl(258, 69%, 59%)
HSVhsv(258, 65%, 87%)
CMYKcmyk(45.9%, 65.3%, 0%, 12.9%)
CIE-LABlab(45.05, 51.05, -67.91)
CIE-LCHlch(45.05, 84.96, 306.94°)
OKLaboklab(54.84% 0.0771 -0.1944)
OKLCHoklch(54.84% 0.209 291.6)
XYZxyz(23.5807, 14.5739, 70.6637)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DDE #B3DE4D
analogous
#4D6ADE #784DDE #C04DDE
triadic
#784DDE #DE784D #4DDE78
tetradic
#784DDE #DE4D6A #B3DE4D #4DDEC0
square
#784DDE #DE4D6A #B3DE4D #4DDEC0
split-complementary
#784DDE #DEC04D #6ADE4D
monochromatic
#401C95 #5625C9 #784DDE #9F81E8 #C6B4F1

Accessibility & contrast

On white

5.36
#784DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#784DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DDE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DDE#FFFFFF#000000##FFFFFF
##784DDE1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#59708F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784dde;
/* rgb */ color: rgb(120, 77, 222);
/* oklch */ color: oklch(54.8% 0.209 291.6);
Tailwind
colors: {
  custom: {
    50: '#a781e9',
    500: '#784dde',
    950: '#000000',
  },
}
SCSS
$custom: #784dde;
$custom-light: #a781e9;
$custom-dark: #000000;
JSON
{
  "hex": "#784dde",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 257.793,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54835,
    "c": 0.20908,
    "h": 291.6
  },
  "luminance": 0.14575
}

Semantic roles & 50–950 ramp

primary
#784DDE
secondary
#CFE0A7
accent
#EC3CB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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