#784AFF#784AFF

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

Color values

HEX#784AFF
RGBrgb(120, 74, 255)
HSLhsl(255, 100%, 65%)
HSVhsv(255, 71%, 100%)
CMYKcmyk(52.9%, 71%, 0%, 0%)
CIE-LABlab(47.12, 61.58, -83.10)
CIE-LCHlch(47.12, 103.43, 306.54°)
OKLaboklab(57.13% 0.0742 -0.2389)
OKLCHoklch(57.13% 0.25 287.3)
XYZxyz(28.2392, 16.1092, 96.2097)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AFF #D1FF4A
analogous
#4A76FF #784AFF #D34AFF
triadic
#784AFF #FF784A #4AFF78
tetradic
#784AFF #FF4A76 #D1FF4A #4AFFD3
square
#784AFF #FF4A76 #D1FF4A #4AFFD3
split-complementary
#784AFF #FFD34A #76FF4A
monochromatic
#3500CF #4A0DFF #784AFF #A687FF #D3C4FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##784AFF#FFFFFF#000000##FFFFFF
##784AFF1.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)
#0074FF
Deuteranopia (green-blind)
#006BFC
Tritanopia (blue-blind)
#407BA0
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #784aff;
/* rgb */ color: rgb(120, 74, 255);
/* oklch */ color: oklch(57.1% 0.250 287.3);
Tailwind
colors: {
  custom: {
    50: '#ab81ff',
    500: '#784aff',
    950: '#000000',
  },
}
SCSS
$custom: #784aff;
$custom-light: #ab81ff;
$custom-dark: #000000;
JSON
{
  "hex": "#784aff",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 255.249,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57129,
    "c": 0.2502,
    "h": 287.3
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#784AFF
secondary
#E2F2B3
accent
#E600AB
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #784AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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