#784FF4#784FF4

#784FF4 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.232 H 288.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#784FF4
RGBrgb(120, 79, 244)
HSLhsl(255, 88%, 63%)
HSVhsv(255, 68%, 96%)
CMYKcmyk(50.8%, 67.6%, 0%, 4.3%)
CIE-LABlab(47.13, 56.05, -76.94)
CIE-LCHlch(47.13, 95.19, 306.07°)
OKLaboklab(56.86% 0.0721 -0.2209)
OKLCHoklch(56.86% 0.232 288.1)
XYZxyz(26.8661, 16.1154, 87.2654)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FF4 #CBF44F
analogous
#4F78F4 #784FF4 #CA4FF4
triadic
#784FF4 #F4784F #4FF478
tetradic
#784FF4 #F44F78 #CBF44F #4FF4CA
square
#784FF4 #F44F78 #CBF44F #4FF4CA
split-complementary
#784FF4 #F4CA4F #78F44F
monochromatic
#380CBD #4C15F0 #784FF4 #A489F8 #D0C2FB

Accessibility & contrast

On white

4.97
#784FF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#784FF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FF4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FF4#FFFFFF#000000##FFFFFF
##784FF41.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F9
Deuteranopia (green-blind)
#006BF1
Tritanopia (blue-blind)
#4A799B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #784ff4;
/* rgb */ color: rgb(120, 79, 244);
/* oklch */ color: oklch(56.9% 0.232 288.1);
Tailwind
colors: {
  custom: {
    50: '#a983f9',
    500: '#784ff4',
    950: '#000000',
  },
}
SCSS
$custom: #784ff4;
$custom-light: #a983f9;
$custom-dark: #000000;
JSON
{
  "hex": "#784ff4",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 244
  },
  "hsl": {
    "h": 254.909,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56858,
    "c": 0.23237,
    "h": 288.1
  },
  "luminance": 0.16117
}

Semantic roles & 50–950 ramp

primary
#784FF4
secondary
#DEEDB2
accent
#E501AC
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #784FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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