#784BF8#784BF8

#784BF8 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.241 H 288.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#784BF8
RGBrgb(120, 75, 248)
HSLhsl(256, 93%, 63%)
HSVhsv(256, 70%, 97%)
CMYKcmyk(51.6%, 69.8%, 0%, 2.7%)
CIE-LABlab(46.71, 59.18, -79.85)
CIE-LCHlch(46.71, 99.39, 306.54°)
OKLaboklab(56.66% 0.0748 -0.2294)
OKLCHoklch(56.66% 0.241 288.1)
XYZxyz(27.2001, 15.8012, 90.4055)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BF8 #CBF84B
analogous
#4B74F8 #784BF8 #CE4BF8
triadic
#784BF8 #F8784B #4BF878
tetradic
#784BF8 #F84B74 #CBF84B #4BF8CE
square
#784BF8 #F84B74 #CBF84B #4BF8CE
split-complementary
#784BF8 #F8CE4B #74F84B
monochromatic
#3808C1 #4C10F6 #784BF8 #A486FA #D0C1FD

Accessibility & contrast

On white

5.05
#784BF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#784BF8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BF8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BF8#FFFFFF#000000##FFFFFF
##784BF81.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FD
Deuteranopia (green-blind)
#006AF5
Tritanopia (blue-blind)
#47789C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #784bf8;
/* rgb */ color: rgb(120, 75, 248);
/* oklch */ color: oklch(56.7% 0.241 288.1);
Tailwind
colors: {
  custom: {
    50: '#aa81fc',
    500: '#784bf8',
    950: '#000000',
  },
}
SCSS
$custom: #784bf8;
$custom-light: #aa81fc;
$custom-dark: #000000;
JSON
{
  "hex": "#784bf8",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 248
  },
  "hsl": {
    "h": 255.607,
    "s": 92.513,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56662,
    "c": 0.24132,
    "h": 288.1
  },
  "luminance": 0.15803
}

Semantic roles & 50–950 ramp

primary
#784BF8
secondary
#DEEEB1
accent
#E600AA
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #784BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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