#784CE2#784CE2

#784CE2 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.215 H 291.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#784CE2
RGBrgb(120, 76, 226)
HSLhsl(258, 72%, 59%)
HSVhsv(258, 66%, 89%)
CMYKcmyk(46.9%, 66.4%, 0%, 11.4%)
CIE-LABlab(45.15, 52.67, -70.00)
CIE-LCHlch(45.15, 87.61, 306.96°)
OKLaboklab(55.01% 0.0775 -0.2005)
OKLCHoklch(55.01% 0.215 291.1)
XYZxyz(24.0538, 14.6521, 73.4975)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CE2 #B6E24C
analogous
#4C6BE2 #784CE2 #C34CE2
triadic
#784CE2 #E2784C #4CE278
tetradic
#784CE2 #E24C6B #B6E24C #4CE2C3
square
#784CE2 #E24C6B #B6E24C #4CE2C3
split-complementary
#784CE2 #E2C34C #6BE24C
monochromatic
#3F199B #5522CF #784CE2 #A081EB #C7B5F3

Accessibility & contrast

On white

5.34
#784CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#784CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CE2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CE2#FFFFFF#000000##FFFFFF
##784CE21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#577191
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784ce2;
/* rgb */ color: rgb(120, 76, 226);
/* oklch */ color: oklch(55.0% 0.215 291.1);
Tailwind
colors: {
  custom: {
    50: '#a781ec',
    500: '#784ce2',
    950: '#000000',
  },
}
SCSS
$custom: #784ce2;
$custom-light: #a781ec;
$custom-dark: #000000;
JSON
{
  "hex": "#784ce2",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 257.6,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55008,
    "c": 0.21498,
    "h": 291.1
  },
  "luminance": 0.14653
}

Semantic roles & 50–950 ramp

primary
#784CE2
secondary
#D1E2A8
accent
#EF39B9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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