#784FDA#784FDA

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

Color values

HEX#784FDA
RGBrgb(120, 79, 218)
HSLhsl(258, 65%, 58%)
HSVhsv(258, 64%, 85%)
CMYKcmyk(45%, 63.8%, 0%, 14.5%)
CIE-LABlab(45.15, 48.89, -65.46)
CIE-LCHlch(45.15, 81.70, 306.75°)
OKLaboklab(54.82% 0.0755 -0.1872)
OKLCHoklch(54.82% 0.202 292)
XYZxyz(23.1931, 14.6462, 67.9211)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FDA #B1DA4F
analogous
#4F6BDA #784FDA #BD4FDA
triadic
#784FDA #DA784F #4FDA78
tetradic
#784FDA #DA4F6B #B1DA4F #4FDABD
square
#784FDA #DA4F6B #B1DA4F #4FDABD
split-complementary
#784FDA #DABD4F #6BDA4F
monochromatic
#401E90 #5629C3 #784FDA #9F82E5 #C6B4EF

Accessibility & contrast

On white

5.34
#784FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#784FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FDA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FDA#FFFFFF#000000##FFFFFF
##784FDA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#5B708D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784fda;
/* rgb */ color: rgb(120, 79, 218);
/* oklch */ color: oklch(54.8% 0.202 292.0);
Tailwind
colors: {
  custom: {
    50: '#a682e6',
    500: '#784fda',
    950: '#000000',
  },
}
SCSS
$custom: #784fda;
$custom-light: #a682e6;
$custom-dark: #000000;
JSON
{
  "hex": "#784fda",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 257.698,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54815,
    "c": 0.20182,
    "h": 292
  },
  "luminance": 0.14647
}

Semantic roles & 50–950 ramp

primary
#784FDA
secondary
#CEDEA7
accent
#E840B6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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