#784CE6#784CE6

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

Color values

HEX#784CE6
RGBrgb(120, 76, 230)
HSLhsl(257, 75%, 60%)
HSVhsv(257, 67%, 90%)
CMYKcmyk(47.8%, 67%, 0%, 9.8%)
CIE-LABlab(45.46, 53.76, -71.77)
CIE-LCHlch(45.46, 89.67, 306.84°)
OKLaboklab(55.32% 0.077 -0.2057)
OKLCHoklch(55.32% 0.22 290.5)
XYZxyz(24.6090, 14.8742, 76.4219)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CE6 #BAE64C
analogous
#4C6DE6 #784CE6 #C54CE6
triadic
#784CE6 #E6784C #4CE678
tetradic
#784CE6 #E64C6D #BAE64C #4CE6C5
square
#784CE6 #E64C6D #BAE64C #4CE6C5
split-complementary
#784CE6 #E6C54C #6DE64C
monochromatic
#3E17A1 #531ED7 #784CE6 #A182ED #C9B7F5

Accessibility & contrast

On white

5.28
#784CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784CE6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CE6#FFFFFF#000000##FFFFFF
##784CE61.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #784ce6;
/* rgb */ color: rgb(120, 76, 230);
/* oklch */ color: oklch(55.3% 0.220 290.5);
Tailwind
colors: {
  custom: {
    50: '#a881ef',
    500: '#784ce6',
    950: '#000000',
  },
}
SCSS
$custom: #784ce6;
$custom-light: #a881ef;
$custom-dark: #000000;
JSON
{
  "hex": "#784ce6",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 230
  },
  "hsl": {
    "h": 257.143,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.55324,
    "c": 0.21963,
    "h": 290.5
  },
  "luminance": 0.14875
}

Semantic roles & 50–950 ramp

primary
#784CE6
secondary
#D4E5A9
accent
#F236BC
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #784CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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