#784FEB#784FEB

#784FEB is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.222 H 289.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#784FEB
RGBrgb(120, 79, 235)
HSLhsl(256, 80%, 62%)
HSVhsv(256, 66%, 92%)
CMYKcmyk(48.9%, 66.4%, 0%, 7.8%)
CIE-LABlab(46.42, 53.56, -73.03)
CIE-LCHlch(46.42, 90.57, 306.26°)
OKLaboklab(56.13% 0.0734 -0.2094)
OKLCHoklch(56.13% 0.222 289.3)
XYZxyz(25.5328, 15.5821, 80.2435)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FEB #C2EB4F
analogous
#4F74EB #784FEB #C64FEB
triadic
#784FEB #EB784F #4FEB78
tetradic
#784FEB #EB4F74 #C2EB4F #4FEBC6
square
#784FEB #EB4F74 #C2EB4F #4FEBC6
split-complementary
#784FEB #EBC64F #74EB4F
monochromatic
#3C14AC #4F1AE3 #784FEB #A286F1 #CCBDF7

Accessibility & contrast

On white

5.10
#784FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#784FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FEB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FEB#FFFFFF#000000##FFFFFF
##784FEB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#517697
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #784feb;
/* rgb */ color: rgb(120, 79, 235);
/* oklch */ color: oklch(56.1% 0.222 289.3);
Tailwind
colors: {
  custom: {
    50: '#a883f2',
    500: '#784feb',
    950: '#000000',
  },
}
SCSS
$custom: #784feb;
$custom-light: #a883f2;
$custom-dark: #000000;
JSON
{
  "hex": "#784feb",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 255.769,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56134,
    "c": 0.22192,
    "h": 289.3
  },
  "luminance": 0.15583
}

Semantic roles & 50–950 ramp

primary
#784FEB
secondary
#D9E8AE
accent
#DC0AA5
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #784FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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