#784CCF#784CCF

#784CCF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.193 H 294.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#784CCF
RGBrgb(120, 76, 207)
HSLhsl(260, 58%, 55%)
HSVhsv(260, 63%, 81%)
CMYKcmyk(42%, 63.3%, 0%, 18.8%)
CIE-LABlab(43.75, 47.53, -61.42)
CIE-LCHlch(43.75, 77.66, 307.73°)
OKLaboklab(53.56% 0.0797 -0.1753)
OKLCHoklch(53.56% 0.193 294.4)
XYZxyz(21.5896, 13.6664, 60.5198)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CCF #A3CF4C
analogous
#4C61CF #784CCF #BA4CCF
triadic
#784CCF #CF784C #4CCF78
tetradic
#784CCF #CF4C61 #A3CF4C #4CCFBA
square
#784CCF #CF4C61 #A3CF4C #4CCFBA
split-complementary
#784CCF #CFBA4C #61CF4C
monochromatic
#41227F #5A2FAF #784CCF #9C7CDC #C1ADE9

Accessibility & contrast

On white

5.62
#784CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#784CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CCF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CCF#FFFFFF#000000##FFFFFF
##784CCF1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#616A87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784ccf;
/* rgb */ color: rgb(120, 76, 207);
/* oklch */ color: oklch(53.6% 0.193 294.4);
Tailwind
colors: {
  custom: {
    50: '#a580de',
    500: '#784ccf',
    950: '#000000',
  },
}
SCSS
$custom: #784ccf;
$custom-light: #a580de;
$custom-dark: #000000;
JSON
{
  "hex": "#784ccf",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 260.153,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53555,
    "c": 0.19255,
    "h": 294.4
  },
  "luminance": 0.13667
}

Semantic roles & 50–950 ramp

primary
#784CCF
secondary
#C4D7A0
accent
#E147AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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