#784FDC#784FDC

#784FDC is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.0% C 0.204 H 291.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#784FDC
RGBrgb(120, 79, 220)
HSLhsl(257, 67%, 59%)
HSVhsv(257, 64%, 86%)
CMYKcmyk(45.5%, 64.1%, 0%, 13.7%)
CIE-LABlab(45.29, 49.44, -66.37)
CIE-LCHlch(45.29, 82.76, 306.68°)
OKLaboklab(54.97% 0.0753 -0.1898)
OKLCHoklch(54.97% 0.204 291.6)
XYZxyz(23.4564, 14.7515, 69.3077)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FDC #B3DC4F
analogous
#4F6CDC #784FDC #BE4FDC
triadic
#784FDC #DC784F #4FDC78
tetradic
#784FDC #DC4F6C #B3DC4F #4FDCBE
square
#784FDC #DC4F6C #B3DC4F #4FDCBE
split-complementary
#784FDC #DCBE4F #6CDC4F
monochromatic
#401D93 #5627C6 #784FDC #9F82E6 #C6B5F0

Accessibility & contrast

On white

5.32
#784FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#784FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FDC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FDC#FFFFFF#000000##FFFFFF
##784FDC1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#5A718E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784fdc;
/* rgb */ color: rgb(120, 79, 220);
/* oklch */ color: oklch(55.0% 0.204 291.6);
Tailwind
colors: {
  custom: {
    50: '#a683e8',
    500: '#784fdc',
    950: '#000000',
  },
}
SCSS
$custom: #784fdc;
$custom-light: #a683e8;
$custom-dark: #000000;
JSON
{
  "hex": "#784fdc",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 257.447,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54966,
    "c": 0.2042,
    "h": 291.6
  },
  "luminance": 0.14752
}

Semantic roles & 50–950 ramp

primary
#784FDC
secondary
#CFDFA8
accent
#EA3EB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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