#784FF3#784FF3

#784FF3 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.231 H 288.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#784FF3
RGBrgb(120, 79, 243)
HSLhsl(255, 87%, 63%)
HSVhsv(255, 67%, 95%)
CMYKcmyk(50.6%, 67.5%, 0%, 4.7%)
CIE-LABlab(47.05, 55.77, -76.51)
CIE-LCHlch(47.05, 94.68, 306.09°)
OKLaboklab(56.78% 0.0722 -0.2196)
OKLCHoklch(56.78% 0.231 288.2)
XYZxyz(26.7146, 16.0549, 86.4679)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FF3 #CAF34F
analogous
#4F78F3 #784FF3 #CA4FF3
triadic
#784FF3 #F3784F #4FF378
tetradic
#784FF3 #F34F78 #CAF34F #4FF3CA
square
#784FF3 #F34F78 #CAF34F #4FF3CA
split-complementary
#784FF3 #F3CA4F #78F34F
monochromatic
#380DBB #4C16EF #784FF3 #A488F7 #D0C2FB

Accessibility & contrast

On white

4.99
#784FF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#784FF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FF3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FF3#FFFFFF#000000##FFFFFF
##784FF31.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F8
Deuteranopia (green-blind)
#006BF0
Tritanopia (blue-blind)
#4B799B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #784ff3;
/* rgb */ color: rgb(120, 79, 243);
/* oklch */ color: oklch(56.8% 0.231 288.2);
Tailwind
colors: {
  custom: {
    50: '#a983f8',
    500: '#784ff3',
    950: '#000000',
  },
}
SCSS
$custom: #784ff3;
$custom-light: #a983f8;
$custom-dark: #000000;
JSON
{
  "hex": "#784ff3",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 243
  },
  "hsl": {
    "h": 255,
    "s": 87.234,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56776,
    "c": 0.23121,
    "h": 288.2
  },
  "luminance": 0.16056
}

Semantic roles & 50–950 ramp

primary
#784FF3
secondary
#DEECB2
accent
#E402AB
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #784FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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