#784CF2#784CF2

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

Color values

HEX#784CF2
RGBrgb(120, 76, 242)
HSLhsl(256, 86%, 62%)
HSVhsv(256, 69%, 95%)
CMYKcmyk(50.4%, 68.6%, 0%, 5.1%)
CIE-LABlab(46.41, 57.04, -76.99)
CIE-LCHlch(46.41, 95.82, 306.53°)
OKLaboklab(56.29% 0.075 -0.221)
OKLCHoklch(56.29% 0.233 288.8)
XYZxyz(26.3525, 15.5716, 85.6043)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CF2 #C6F24C
analogous
#4C73F2 #784CF2 #CB4CF2
triadic
#784CF2 #F2784C #4CF278
tetradic
#784CF2 #F24C73 #C6F24C #4CF2CB
square
#784CF2 #F24C73 #C6F24C #4CF2CB
split-complementary
#784CF2 #F2CB4C #73F24C
monochromatic
#3A0DB6 #4D13EE #784CF2 #A385F6 #CEBEFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##784CF2#FFFFFF#000000##FFFFFF
##784CF21.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F7
Deuteranopia (green-blind)
#006AEF
Tritanopia (blue-blind)
#4C7799
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #784cf2;
/* rgb */ color: rgb(120, 76, 242);
/* oklch */ color: oklch(56.3% 0.233 288.8);
Tailwind
colors: {
  custom: {
    50: '#a981f8',
    500: '#784cf2',
    950: '#000000',
  },
}
SCSS
$custom: #784cf2;
$custom-light: #a981f8;
$custom-dark: #000000;
JSON
{
  "hex": "#784cf2",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 242
  },
  "hsl": {
    "h": 255.904,
    "s": 86.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56295,
    "c": 0.23343,
    "h": 288.8
  },
  "luminance": 0.15573
}

Semantic roles & 50–950 ramp

primary
#784CF2
secondary
#DBEBAF
accent
#E303A7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #784CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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