#784FE5#784FE5

#784FE5 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.215 H 290.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#784FE5
RGBrgb(120, 79, 229)
HSLhsl(256, 74%, 60%)
HSVhsv(256, 66%, 90%)
CMYKcmyk(47.6%, 65.5%, 0%, 10.2%)
CIE-LABlab(45.96, 51.91, -70.39)
CIE-LCHlch(45.96, 87.46, 306.41°)
OKLaboklab(55.66% 0.0742 -0.2016)
OKLCHoklch(55.66% 0.215 290.2)
XYZxyz(24.6805, 15.2412, 75.7550)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FE5 #BCE54F
analogous
#4F71E5 #784FE5 #C34FE5
triadic
#784FE5 #E5784F #4FE578
tetradic
#784FE5 #E54F71 #BCE54F #4FE5C3
square
#784FE5 #E54F71 #BCE54F #4FE5C3
split-complementary
#784FE5 #E5C34F #71E54F
monochromatic
#3E18A2 #5220D7 #784FE5 #A184ED #CABAF5

Accessibility & contrast

On white

5.19
#784FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#784FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FE5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FE5#FFFFFF#000000##FFFFFF
##784FE51.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0069E2
Tritanopia (blue-blind)
#547493
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #784fe5;
/* rgb */ color: rgb(120, 79, 229);
/* oklch */ color: oklch(55.7% 0.215 290.2);
Tailwind
colors: {
  custom: {
    50: '#a783ee',
    500: '#784fe5',
    950: '#000000',
  },
}
SCSS
$custom: #784fe5;
$custom-light: #a783ee;
$custom-dark: #000000;
JSON
{
  "hex": "#784fe5",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 256.4,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55661,
    "c": 0.21488,
    "h": 290.2
  },
  "luminance": 0.15242
}

Semantic roles & 50–950 ramp

primary
#784FE5
secondary
#D5E5AB
accent
#D60FA0
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #784FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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