#784FE2#784FE2

#784FE2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.211 H 290.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#784FE2
RGBrgb(120, 79, 226)
HSLhsl(257, 72%, 60%)
HSVhsv(257, 65%, 89%)
CMYKcmyk(46.9%, 65%, 0%, 11.4%)
CIE-LABlab(45.74, 51.08, -69.06)
CIE-LCHlch(45.74, 85.90, 306.49°)
OKLaboklab(55.43% 0.0746 -0.1977)
OKLCHoklch(55.43% 0.211 290.7)
XYZxyz(24.2653, 15.0751, 73.5680)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FE2 #B9E24F
analogous
#4F6FE2 #784FE2 #C24FE2
triadic
#784FE2 #E2784F #4FE278
tetradic
#784FE2 #E24F6F #B9E24F #4FE2C2
square
#784FE2 #E24F6F #B9E24F #4FE2C2
split-complementary
#784FE2 #E2C24F #6FE24F
monochromatic
#3E1A9D #5322D1 #784FE2 #A084EB #C9B8F3

Accessibility & contrast

On white

5.23
#784FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#784FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FE2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FE2#FFFFFF#000000##FFFFFF
##784FE21.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#567392
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #784fe2;
/* rgb */ color: rgb(120, 79, 226);
/* oklch */ color: oklch(55.4% 0.211 290.7);
Tailwind
colors: {
  custom: {
    50: '#a783ec',
    500: '#784fe2',
    950: '#000000',
  },
}
SCSS
$custom: #784fe2;
$custom-light: #a783ec;
$custom-dark: #000000;
JSON
{
  "hex": "#784fe2",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 256.735,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55427,
    "c": 0.21134,
    "h": 290.7
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#784FE2
secondary
#D3E3AA
accent
#EE39BC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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