#784FE1#784FE1

#784FE1 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.210 H 290.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#784FE1
RGBrgb(120, 79, 225)
HSLhsl(257, 71%, 60%)
HSVhsv(257, 65%, 88%)
CMYKcmyk(46.7%, 64.9%, 0%, 11.8%)
CIE-LABlab(45.66, 50.81, -68.61)
CIE-LCHlch(45.66, 85.37, 306.52°)
OKLaboklab(55.35% 0.0747 -0.1964)
OKLCHoklch(55.35% 0.21 290.8)
XYZxyz(24.1285, 15.0204, 72.8475)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FE1 #B8E14F
analogous
#4F6FE1 #784FE1 #C14FE1
triadic
#784FE1 #E1784F #4FE178
tetradic
#784FE1 #E14F6F #B8E14F #4FE1C1
square
#784FE1 #E14F6F #B8E14F #4FE1C1
split-complementary
#784FE1 #E1C14F #6FE14F
monochromatic
#3F1A9B #5423CF #784FE1 #A083EA #C8B8F3

Accessibility & contrast

On white

5.24
#784FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#784FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FE1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FE1#FFFFFF#000000##FFFFFF
##784FE11.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#577291
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #784fe1;
/* rgb */ color: rgb(120, 79, 225);
/* oklch */ color: oklch(55.4% 0.210 290.8);
Tailwind
colors: {
  custom: {
    50: '#a783eb',
    500: '#784fe1',
    950: '#000000',
  },
}
SCSS
$custom: #784fe1;
$custom-light: #a783eb;
$custom-dark: #000000;
JSON
{
  "hex": "#784fe1",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 256.849,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5535,
    "c": 0.21016,
    "h": 290.8
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#784FE1
secondary
#D2E2AA
accent
#EE3ABB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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