#784CFF#784CFF

#784CFF is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.4% C 0.248 H 287.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#784CFF
RGBrgb(120, 76, 255)
HSLhsl(255, 100%, 65%)
HSVhsv(255, 70%, 100%)
CMYKcmyk(52.9%, 70.2%, 0%, 0%)
CIE-LABlab(47.47, 60.59, -82.52)
CIE-LCHlch(47.47, 102.38, 306.29°)
OKLaboklab(57.38% 0.0727 -0.2372)
OKLCHoklch(57.38% 0.248 287)
XYZxyz(28.3748, 16.3805, 96.2550)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CFF #D3FF4C
analogous
#4C79FF #784CFF #D24CFF
triadic
#784CFF #FF784C #4CFF78
tetradic
#784CFF #FF4C79 #D3FF4C #4CFFD2
square
#784CFF #FF4C79 #D3FF4C #4CFFD2
split-complementary
#784CFF #FFD24C #79FF4C
monochromatic
#3300D1 #4A0FFF #784CFF #A689FF #D4C6FF

Accessibility & contrast

On white

4.91
#784CFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#784CFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CFF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CFF#FFFFFF#000000##FFFFFF
##784CFF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#006CFC
Tritanopia (blue-blind)
#407CA1
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #784cff;
/* rgb */ color: rgb(120, 76, 255);
/* oklch */ color: oklch(57.4% 0.248 287.0);
Tailwind
colors: {
  custom: {
    50: '#ab82ff',
    500: '#784cff',
    950: '#000000',
  },
}
SCSS
$custom: #784cff;
$custom-light: #ab82ff;
$custom-dark: #000000;
JSON
{
  "hex": "#784cff",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 255
  },
  "hsl": {
    "h": 254.749,
    "s": 100,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57379,
    "c": 0.24812,
    "h": 287
  },
  "luminance": 0.16382
}

Semantic roles & 50–950 ramp

primary
#784CFF
secondary
#E3F2B5
accent
#E600AD
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #784CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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