#784CC8#784CC8

#784CC8 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.184 H 295.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#784CC8
RGBrgb(120, 76, 200)
HSLhsl(261, 53%, 54%)
HSVhsv(261, 62%, 78%)
CMYKcmyk(40%, 62%, 0%, 21.6%)
CIE-LABlab(43.26, 45.65, -58.18)
CIE-LCHlch(43.26, 73.95, 308.12°)
OKLaboklab(53.04% 0.0802 -0.1657)
OKLCHoklch(53.04% 0.184 295.8)
XYZxyz(20.7528, 13.3317, 56.1123)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CC8 #9CC84C
analogous
#4C5EC8 #784CC8 #B64CC8
triadic
#784CC8 #C8784C #4CC878
tetradic
#784CC8 #C84C5E #9CC84C #4CC8B6
square
#784CC8 #C84C5E #9CC84C #4CC8B6
split-complementary
#784CC8 #C8B64C #5EC84C
monochromatic
#412475 #5B32A4 #784CC8 #9B7BD6 #BFAAE5

Accessibility & contrast

On white

5.73
#784CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#784CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CC8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CC8#FFFFFF#000000##FFFFFF
##784CC81.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#646883
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784cc8;
/* rgb */ color: rgb(120, 76, 200);
/* oklch */ color: oklch(53.0% 0.184 295.8);
Tailwind
colors: {
  custom: {
    50: '#a480d9',
    500: '#784cc8',
    950: '#000000',
  },
}
SCSS
$custom: #784cc8;
$custom-light: #a480d9;
$custom-dark: #000000;
JSON
{
  "hex": "#784cc8",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 261.29,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53042,
    "c": 0.18414,
    "h": 295.8
  },
  "luminance": 0.13332
}

Semantic roles & 50–950 ramp

primary
#784CC8
secondary
#C0D29E
accent
#DC4BA9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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