#784BE8#784BE8

#784BE8 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.223 H 290.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#784BE8
RGBrgb(120, 75, 232)
HSLhsl(257, 77%, 60%)
HSVhsv(257, 68%, 91%)
CMYKcmyk(48.3%, 67.7%, 0%, 9%)
CIE-LABlab(45.43, 54.82, -72.96)
CIE-LCHlch(45.43, 91.26, 306.92°)
OKLaboklab(55.35% 0.0776 -0.2092)
OKLCHoklch(55.35% 0.223 290.3)
XYZxyz(24.8231, 14.8504, 77.8868)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BE8 #BBE84B
analogous
#4B6DE8 #784BE8 #C64BE8
triadic
#784BE8 #E8784B #4BE878
tetradic
#784BE8 #E84B6D #BBE84B #4BE8C6
square
#784BE8 #E84B6D #BBE84B #4BE8C6
split-complementary
#784BE8 #E8C64B #6DE84B
monochromatic
#3E15A4 #521CDA #784BE8 #A181EF #C9B8F6

Accessibility & contrast

On white

5.29
#784BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#784BE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BE8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BE8#FFFFFF#000000##FFFFFF
##784BE81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0068E5
Tritanopia (blue-blind)
#537394
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #784be8;
/* rgb */ color: rgb(120, 75, 232);
/* oklch */ color: oklch(55.3% 0.223 290.3);
Tailwind
colors: {
  custom: {
    50: '#a880f0',
    500: '#784be8',
    950: '#000000',
  },
}
SCSS
$custom: #784be8;
$custom-light: #a880f0;
$custom-dark: #000000;
JSON
{
  "hex": "#784be8",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 257.197,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55349,
    "c": 0.22311,
    "h": 290.3
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#784BE8
secondary
#D4E6A9
accent
#DA0C9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #784BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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