#784CFE#784CFE

#784CFE is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.3% C 0.247 H 287.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#784CFE
RGBrgb(120, 76, 254)
HSLhsl(255, 99%, 65%)
HSVhsv(255, 70%, 100%)
CMYKcmyk(52.8%, 70.1%, 0%, 0.4%)
CIE-LABlab(47.39, 60.32, -82.10)
CIE-LCHlch(47.39, 101.87, 306.31°)
OKLaboklab(57.29% 0.0729 -0.236)
OKLCHoklch(57.29% 0.247 287.2)
XYZxyz(28.2143, 16.3163, 95.4094)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CFE #D2FE4C
analogous
#4C79FE #784CFE #D14CFE
triadic
#784CFE #FE784C #4CFE78
tetradic
#784CFE #FE4C79 #D2FE4C #4CFED1
square
#784CFE #FE4C79 #D2FE4C #4CFED1
split-complementary
#784CFE #FED14C #79FE4C
monochromatic
#3401CE #4A0FFE #784CFE #A689FE #D4C6FF

Accessibility & contrast

On white

4.93
#784CFE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#784CFE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CFE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CFE#FFFFFF#000000##FFFFFF
##784CFE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#006BFB
Tritanopia (blue-blind)
#417BA0
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #784cfe;
/* rgb */ color: rgb(120, 76, 254);
/* oklch */ color: oklch(57.3% 0.247 287.2);
Tailwind
colors: {
  custom: {
    50: '#ab82ff',
    500: '#784cfe',
    950: '#000000',
  },
}
SCSS
$custom: #784cfe;
$custom-light: #ab82ff;
$custom-dark: #000000;
JSON
{
  "hex": "#784cfe",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 254
  },
  "hsl": {
    "h": 254.831,
    "s": 98.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57294,
    "c": 0.24701,
    "h": 287.2
  },
  "luminance": 0.16318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #784CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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