#784BE6#784BE6

#784BE6 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.221 H 290.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#784BE6
RGBrgb(120, 75, 230)
HSLhsl(257, 76%, 60%)
HSVhsv(257, 67%, 90%)
CMYKcmyk(47.8%, 67.4%, 0%, 9.8%)
CIE-LABlab(45.27, 54.28, -72.08)
CIE-LCHlch(45.27, 90.23, 306.98°)
OKLaboklab(55.19% 0.0779 -0.2066)
OKLCHoklch(55.19% 0.221 290.7)
XYZxyz(24.5407, 14.7374, 76.3991)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BE6 #B9E64B
analogous
#4B6CE6 #784BE6 #C54BE6
triadic
#784BE6 #E6784B #4BE678
tetradic
#784BE6 #E64B6C #B9E64B #4BE6C5
square
#784BE6 #E64B6C #B9E64B #4BE6C5
split-complementary
#784BE6 #E6C54B #6CE64B
monochromatic
#3E16A0 #531ED6 #784BE6 #A081ED #C9B6F5

Accessibility & contrast

On white

5.32
#784BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#784BE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BE6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BE6#FFFFFF#000000##FFFFFF
##784BE61.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#0068E3
Tritanopia (blue-blind)
#547293
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784be6;
/* rgb */ color: rgb(120, 75, 230);
/* oklch */ color: oklch(55.2% 0.221 290.7);
Tailwind
colors: {
  custom: {
    50: '#a880ef',
    500: '#784be6',
    950: '#000000',
  },
}
SCSS
$custom: #784be6;
$custom-light: #a880ef;
$custom-dark: #000000;
JSON
{
  "hex": "#784be6",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 230
  },
  "hsl": {
    "h": 257.419,
    "s": 75.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55189,
    "c": 0.2208,
    "h": 290.7
  },
  "luminance": 0.14738
}

Semantic roles & 50–950 ramp

primary
#784BE6
secondary
#D3E4A8
accent
#F236BB
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #784BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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