#784EC1#784EC1

#784EC1 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.173 H 296.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#784EC1
RGBrgb(120, 78, 193)
HSLhsl(262, 48%, 53%)
HSVhsv(262, 60%, 76%)
CMYKcmyk(37.8%, 59.6%, 0%, 24.3%)
CIE-LABlab(43.20, 42.69, -54.21)
CIE-LCHlch(43.20, 69.00, 308.22°)
OKLaboklab(52.85% 0.0782 -0.1541)
OKLCHoklch(52.85% 0.173 296.9)
XYZxyz(20.0933, 13.2918, 51.9487)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EC1 #97C14E
analogous
#4E5DC1 #784EC1 #B14EC1
triadic
#784EC1 #C1784E #4EC178
tetradic
#784EC1 #C14E5D #97C14E #4EC1B1
square
#784EC1 #C14E5D #97C14E #4EC1B1
split-complementary
#784EC1 #C1B14E #5DC14E
monochromatic
#41276E #5B369B #784EC1 #9B7BD1 #BDA9E1

Accessibility & contrast

On white

5.74
#784EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#784EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EC1
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EC1#FFFFFF#000000##FFFFFF
##784EC11.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C5
Deuteranopia (green-blind)
#1E65BE
Tritanopia (blue-blind)
#676780
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784ec1;
/* rgb */ color: rgb(120, 78, 193);
/* oklch */ color: oklch(52.8% 0.173 296.9);
Tailwind
colors: {
  custom: {
    50: '#a481d4',
    500: '#784ec1',
    950: '#000000',
  },
}
SCSS
$custom: #784ec1;
$custom-light: #a481d4;
$custom-dark: #000000;
JSON
{
  "hex": "#784ec1",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 261.913,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52848,
    "c": 0.1728,
    "h": 296.9
  },
  "luminance": 0.13292
}

Semantic roles & 50–950 ramp

primary
#784EC1
secondary
#BCCE9D
accent
#D850A6
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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