#784CE1#784CE1

#784CE1 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.214 H 291.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#784CE1
RGBrgb(120, 76, 225)
HSLhsl(258, 71%, 59%)
HSVhsv(258, 66%, 88%)
CMYKcmyk(46.7%, 66.2%, 0%, 11.8%)
CIE-LABlab(45.08, 52.40, -69.56)
CIE-LCHlch(45.08, 87.09, 306.99°)
OKLaboklab(54.93% 0.0777 -0.1992)
OKLCHoklch(54.93% 0.214 291.3)
XYZxyz(23.9170, 14.5973, 72.7770)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CE1 #B5E14C
analogous
#4C6BE1 #784CE1 #C34CE1
triadic
#784CE1 #E1784C #4CE178
tetradic
#784CE1 #E14C6B #B5E14C #4CE1C3
square
#784CE1 #E14C6B #B5E14C #4CE1C3
split-complementary
#784CE1 #E1C34C #6BE14C
monochromatic
#3F1A99 #5522CD #784CE1 #A080EA #C7B5F3

Accessibility & contrast

On white

5.36
#784CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#784CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CE1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CE1#FFFFFF#000000##FFFFFF
##784CE11.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#577190
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784ce1;
/* rgb */ color: rgb(120, 76, 225);
/* oklch */ color: oklch(54.9% 0.214 291.3);
Tailwind
colors: {
  custom: {
    50: '#a781eb',
    500: '#784ce1',
    950: '#000000',
  },
}
SCSS
$custom: #784ce1;
$custom-light: #a781eb;
$custom-dark: #000000;
JSON
{
  "hex": "#784ce1",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 257.718,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54929,
    "c": 0.21382,
    "h": 291.3
  },
  "luminance": 0.14598
}

Semantic roles & 50–950 ramp

primary
#784CE1
secondary
#D0E2A7
accent
#EE3AB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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