#784CF3#784CF3

#784CF3 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.235 H 288.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#784CF3
RGBrgb(120, 76, 243)
HSLhsl(256, 87%, 63%)
HSVhsv(256, 69%, 95%)
CMYKcmyk(50.6%, 68.7%, 0%, 4.7%)
CIE-LABlab(46.49, 57.31, -77.42)
CIE-LCHlch(46.49, 96.33, 306.51°)
OKLaboklab(56.38% 0.0749 -0.2223)
OKLCHoklch(56.38% 0.235 288.6)
XYZxyz(26.5031, 15.6318, 86.3974)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CF3 #C7F34C
analogous
#4C74F3 #784CF3 #CB4CF3
triadic
#784CF3 #F3784C #4CF378
tetradic
#784CF3 #F34C74 #C7F34C #4CF3CB
square
#784CF3 #F34C74 #C7F34C #4CF3CB
split-complementary
#784CF3 #F3CB4C #74F34C
monochromatic
#3A0CB8 #4D13EF #784CF3 #A385F7 #CFBFFB

Accessibility & contrast

On white

5.09
#784CF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#784CF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CF3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CF3#FFFFFF#000000##FFFFFF
##784CF31.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F8
Deuteranopia (green-blind)
#006AF0
Tritanopia (blue-blind)
#4B779A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #784cf3;
/* rgb */ color: rgb(120, 76, 243);
/* oklch */ color: oklch(56.4% 0.235 288.6);
Tailwind
colors: {
  custom: {
    50: '#a981f8',
    500: '#784cf3',
    950: '#000000',
  },
}
SCSS
$custom: #784cf3;
$custom-light: #a981f8;
$custom-dark: #000000;
JSON
{
  "hex": "#784cf3",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 243
  },
  "hsl": {
    "h": 255.808,
    "s": 87.435,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56377,
    "c": 0.23457,
    "h": 288.6
  },
  "luminance": 0.15633
}

Semantic roles & 50–950 ramp

primary
#784CF3
secondary
#DCECAF
accent
#E402A8
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #784CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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