#784EC0#784EC0

#784EC0 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.172 H 297.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#784EC0
RGBrgb(120, 78, 192)
HSLhsl(262, 48%, 53%)
HSVhsv(262, 59%, 75%)
CMYKcmyk(37.5%, 59.4%, 0%, 24.7%)
CIE-LABlab(43.13, 42.42, -53.74)
CIE-LCHlch(43.13, 68.46, 308.29°)
OKLaboklab(52.78% 0.0782 -0.1527)
OKLCHoklch(52.78% 0.172 297.1)
XYZxyz(19.9821, 13.2473, 51.3632)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EC0 #96C04E
analogous
#4E5DC0 #784EC0 #B14EC0
triadic
#784EC0 #C0784E #4EC078
tetradic
#784EC0 #C04E5D #96C04E #4EC0B1
square
#784EC0 #C04E5D #96C04E #4EC0B1
split-complementary
#784EC0 #C0B14E #5DC04E
monochromatic
#41276D #5B379A #784EC0 #9A7BD0 #BDA8E0

Accessibility & contrast

On white

5.75
#784EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#784EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EC0
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EC0#FFFFFF#000000##FFFFFF
##784EC01.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0366C4
Deuteranopia (green-blind)
#2065BD
Tritanopia (blue-blind)
#67667F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784ec0;
/* rgb */ color: rgb(120, 78, 192);
/* oklch */ color: oklch(52.8% 0.172 297.1);
Tailwind
colors: {
  custom: {
    50: '#a381d4',
    500: '#784ec0',
    950: '#000000',
  },
}
SCSS
$custom: #784ec0;
$custom-light: #a381d4;
$custom-dark: #000000;
JSON
{
  "hex": "#784ec0",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 262.105,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52779,
    "c": 0.17157,
    "h": 297.1
  },
  "luminance": 0.13248
}

Semantic roles & 50–950 ramp

primary
#784EC0
secondary
#BBCE9C
accent
#D751A6
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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