#784CC2#784CC2

#784CC2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.177 H 297.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#784CC2
RGBrgb(120, 76, 194)
HSLhsl(262, 49%, 53%)
HSVhsv(262, 61%, 76%)
CMYKcmyk(38.1%, 60.8%, 0%, 23.9%)
CIE-LABlab(42.85, 44.06, -55.36)
CIE-LCHlch(42.85, 70.75, 308.52°)
OKLaboklab(52.61% 0.0806 -0.1575)
OKLCHoklch(52.61% 0.177 297.1)
XYZxyz(20.0653, 13.0567, 52.4915)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CC2 #96C24C
analogous
#4C5BC2 #784CC2 #B34CC2
triadic
#784CC2 #C2784C #4CC278
tetradic
#784CC2 #C24C5B #96C24C #4CC2B3
square
#784CC2 #C24C5B #96C24C #4CC2B3
split-complementary
#784CC2 #C2B34C #5BC24C
monochromatic
#41266E #5B359C #784CC2 #9A7AD2 #BDA7E1

Accessibility & contrast

On white

5.81
#784CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#784CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CC2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CC2#FFFFFF#000000##FFFFFF
##784CC21.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#1664BF
Tritanopia (blue-blind)
#666680
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784cc2;
/* rgb */ color: rgb(120, 76, 194);
/* oklch */ color: oklch(52.6% 0.177 297.1);
Tailwind
colors: {
  custom: {
    50: '#a480d5',
    500: '#784cc2',
    950: '#000000',
  },
}
SCSS
$custom: #784cc2;
$custom-light: #a480d5;
$custom-dark: #000000;
JSON
{
  "hex": "#784cc2",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 262.373,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52613,
    "c": 0.17687,
    "h": 297.1
  },
  "luminance": 0.13057
}

Semantic roles & 50–950 ramp

primary
#784CC2
secondary
#BBCE9B
accent
#D94FA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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