#784FEA#784FEA

#784FEA is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.221 H 289.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#784FEA
RGBrgb(120, 79, 234)
HSLhsl(256, 79%, 61%)
HSVhsv(256, 66%, 92%)
CMYKcmyk(48.7%, 66.2%, 0%, 8.2%)
CIE-LABlab(46.34, 53.29, -72.59)
CIE-LCHlch(46.34, 90.05, 306.28°)
OKLaboklab(56.05% 0.0736 -0.2081)
OKLCHoklch(56.05% 0.221 289.5)
XYZxyz(25.3887, 15.5245, 79.4847)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FEA #C1EA4F
analogous
#4F74EA #784FEA #C64FEA
triadic
#784FEA #EA784F #4FEA78
tetradic
#784FEA #EA4F74 #C1EA4F #4FEAC6
square
#784FEA #EA4F74 #C1EA4F #4FEAC6
split-complementary
#784FEA #EAC64F #74EA4F
monochromatic
#3C14AA #4F1BE1 #784FEA #A286F1 #CCBCF7

Accessibility & contrast

On white

5.12
#784FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#784FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FEA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FEA#FFFFFF#000000##FFFFFF
##784FEA1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#517596
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #784fea;
/* rgb */ color: rgb(120, 79, 234);
/* oklch */ color: oklch(56.1% 0.221 289.5);
Tailwind
colors: {
  custom: {
    50: '#a883f2',
    500: '#784fea',
    950: '#000000',
  },
}
SCSS
$custom: #784fea;
$custom-light: #a883f2;
$custom-dark: #000000;
JSON
{
  "hex": "#784fea",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 255.871,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56054,
    "c": 0.22075,
    "h": 289.5
  },
  "luminance": 0.15526
}

Semantic roles & 50–950 ramp

primary
#784FEA
secondary
#D8E7AD
accent
#DB0BA4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #784FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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