#784BF0#784BF0

#784BF0 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.0% C 0.232 H 289.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#784BF0
RGBrgb(120, 75, 240)
HSLhsl(256, 85%, 62%)
HSVhsv(256, 69%, 94%)
CMYKcmyk(50%, 68.7%, 0%, 5.9%)
CIE-LABlab(46.06, 57.00, -76.43)
CIE-LCHlch(46.06, 95.35, 306.72°)
OKLaboklab(56% 0.0763 -0.2194)
OKLCHoklch(56% 0.232 289.2)
XYZxyz(25.9854, 15.3153, 84.0081)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BF0 #C3F04B
analogous
#4B71F0 #784BF0 #CB4BF0
triadic
#784BF0 #F0784B #4BF078
tetradic
#784BF0 #F04B71 #C3F04B #4BF0CB
square
#784BF0 #F04B71 #C3F04B #4BF0CB
split-complementary
#784BF0 #F0CB4B #71F04B
monochromatic
#3B0FB2 #4E14EA #784BF0 #A283F5 #CDBCF9

Accessibility & contrast

On white

5.17
#784BF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#784BF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BF0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BF0#FFFFFF#000000##FFFFFF
##784BF01.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F5
Deuteranopia (green-blind)
#0069ED
Tritanopia (blue-blind)
#4D7598
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #784bf0;
/* rgb */ color: rgb(120, 75, 240);
/* oklch */ color: oklch(56.0% 0.232 289.2);
Tailwind
colors: {
  custom: {
    50: '#a981f6',
    500: '#784bf0',
    950: '#000000',
  },
}
SCSS
$custom: #784bf0;
$custom-light: #a981f6;
$custom-dark: #000000;
JSON
{
  "hex": "#784bf0",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 240
  },
  "hsl": {
    "h": 256.364,
    "s": 84.615,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55999,
    "c": 0.23227,
    "h": 289.2
  },
  "luminance": 0.15316
}

Semantic roles & 50–950 ramp

primary
#784BF0
secondary
#D9EAAD
accent
#E104A5
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A17
muted
#807C85

Preview Lab

Preview with #784BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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