#784FF2#784FF2

#784FF2 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.230 H 288.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#784FF2
RGBrgb(120, 79, 242)
HSLhsl(255, 86%, 63%)
HSVhsv(255, 67%, 95%)
CMYKcmyk(50.4%, 67.4%, 0%, 5.1%)
CIE-LABlab(46.97, 55.49, -76.08)
CIE-LCHlch(46.97, 94.17, 306.11°)
OKLaboklab(56.69% 0.0724 -0.2184)
OKLCHoklch(56.69% 0.23 288.3)
XYZxyz(26.5640, 15.9946, 85.6748)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FF2 #C9F24F
analogous
#4F77F2 #784FF2 #C94FF2
triadic
#784FF2 #F2784F #4FF278
tetradic
#784FF2 #F24F77 #C9F24F #4FF2C9
square
#784FF2 #F24F77 #C9F24F #4FF2C9
split-complementary
#784FF2 #F2C94F #77F24F
monochromatic
#390EB9 #4C16EE #784FF2 #A488F6 #CFC1FA

Accessibility & contrast

On white

5.00
#784FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#784FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FF2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FF2#FFFFFF#000000##FFFFFF
##784FF21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#4B789A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #784ff2;
/* rgb */ color: rgb(120, 79, 242);
/* oklch */ color: oklch(56.7% 0.230 288.3);
Tailwind
colors: {
  custom: {
    50: '#a983f7',
    500: '#784ff2',
    950: '#000000',
  },
}
SCSS
$custom: #784ff2;
$custom-light: #a983f7;
$custom-dark: #000000;
JSON
{
  "hex": "#784ff2",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 255.092,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56695,
    "c": 0.23005,
    "h": 288.3
  },
  "luminance": 0.15996
}

Semantic roles & 50–950 ramp

primary
#784FF2
secondary
#DDECB1
accent
#E303AA
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #784FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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