#784EEF#784EEF

#784EEF is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.228 H 288.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#784EEF
RGBrgb(120, 78, 239)
HSLhsl(256, 83%, 62%)
HSVhsv(256, 67%, 94%)
CMYKcmyk(49.8%, 67.4%, 0%, 6.3%)
CIE-LABlab(46.54, 55.19, -75.09)
CIE-LCHlch(46.54, 93.18, 306.32°)
OKLaboklab(56.32% 0.0738 -0.2154)
OKLCHoklch(56.32% 0.228 288.9)
XYZxyz(26.0456, 15.6727, 83.2974)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EEF #C5EF4E
analogous
#4E75EF #784EEF #C84EEF
triadic
#784EEF #EF784E #4EEF78
tetradic
#784EEF #EF4E75 #C5EF4E #4EEFC8
square
#784EEF #EF4E75 #C5EF4E #4EEFC8
split-complementary
#784EEF #EFC84E #75EF4E
monochromatic
#3A10B2 #4D16EA #784EEF #A386F4 #CEBEF9

Accessibility & contrast

On white

5.08
#784EEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#784EEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EEF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EEF#FFFFFF#000000##FFFFFF
##784EEF1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#4E7798
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #784eef;
/* rgb */ color: rgb(120, 78, 239);
/* oklch */ color: oklch(56.3% 0.228 288.9);
Tailwind
colors: {
  custom: {
    50: '#a982f5',
    500: '#784eef',
    950: '#000000',
  },
}
SCSS
$custom: #784eef;
$custom-light: #a982f5;
$custom-dark: #000000;
JSON
{
  "hex": "#784eef",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 239
  },
  "hsl": {
    "h": 255.652,
    "s": 83.42,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56317,
    "c": 0.22773,
    "h": 288.9
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#784EEF
secondary
#DBEAAF
accent
#E006A7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #784EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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