#784BEE#784BEE

#784BEE is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.230 H 289.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#784BEE
RGBrgb(120, 75, 238)
HSLhsl(257, 83%, 61%)
HSVhsv(257, 68%, 93%)
CMYKcmyk(49.6%, 68.5%, 0%, 6.7%)
CIE-LABlab(45.90, 56.46, -75.57)
CIE-LCHlch(45.90, 94.33, 306.76°)
OKLaboklab(55.84% 0.0766 -0.2169)
OKLCHoklch(55.84% 0.23 289.5)
XYZxyz(25.6900, 15.1972, 82.4521)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BEE #C1EE4B
analogous
#4B70EE #784BEE #C94BEE
triadic
#784BEE #EE784B #4BEE78
tetradic
#784BEE #EE4B70 #C1EE4B #4BEEC9
square
#784BEE #EE4B70 #C1EE4B #4BEEC9
split-complementary
#784BEE #EEC94B #70EE4B
monochromatic
#3C10AE #4F16E6 #784BEE #A283F3 #CCBBF9

Accessibility & contrast

On white

5.20
#784BEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#784BEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BEE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BEE#FFFFFF#000000##FFFFFF
##784BEE1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F3
Deuteranopia (green-blind)
#0069EB
Tritanopia (blue-blind)
#4F7597
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #784bee;
/* rgb */ color: rgb(120, 75, 238);
/* oklch */ color: oklch(55.8% 0.230 289.5);
Tailwind
colors: {
  custom: {
    50: '#a981f5',
    500: '#784bee',
    950: '#000000',
  },
}
SCSS
$custom: #784bee;
$custom-light: #a981f5;
$custom-dark: #000000;
JSON
{
  "hex": "#784bee",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 238
  },
  "hsl": {
    "h": 256.564,
    "s": 82.741,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55836,
    "c": 0.22999,
    "h": 289.5
  },
  "luminance": 0.15198
}

Semantic roles & 50–950 ramp

primary
#784BEE
secondary
#D8E9AC
accent
#DF06A3
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A17
muted
#807C85

Preview Lab

Preview with #784BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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