#784CCE#784CCE

#784CCE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.191 H 294.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#784CCE
RGBrgb(120, 76, 206)
HSLhsl(260, 57%, 55%)
HSVhsv(260, 63%, 81%)
CMYKcmyk(41.7%, 63.1%, 0%, 19.2%)
CIE-LABlab(43.68, 47.26, -60.96)
CIE-LCHlch(43.68, 77.13, 307.78°)
OKLaboklab(53.48% 0.0798 -0.1739)
OKLCHoklch(53.48% 0.191 294.6)
XYZxyz(21.4678, 13.6177, 59.8779)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CCE #A2CE4C
analogous
#4C61CE #784CCE #B94CCE
triadic
#784CCE #CE784C #4CCE78
tetradic
#784CCE #CE4C61 #A2CE4C #4CCEB9
square
#784CCE #CE4C61 #A2CE4C #4CCEB9
split-complementary
#784CCE #CEB94C #61CE4C
monochromatic
#41227D #5A2FAD #784CCE #9C7CDB #C0ACE8

Accessibility & contrast

On white

5.64
#784CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#784CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CCE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CCE#FFFFFF#000000##FFFFFF
##784CCE1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#616A86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784cce;
/* rgb */ color: rgb(120, 76, 206);
/* oklch */ color: oklch(53.5% 0.191 294.6);
Tailwind
colors: {
  custom: {
    50: '#a580de',
    500: '#784cce',
    950: '#000000',
  },
}
SCSS
$custom: #784cce;
$custom-light: #a580de;
$custom-dark: #000000;
JSON
{
  "hex": "#784cce",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 260.308,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53481,
    "c": 0.19135,
    "h": 294.6
  },
  "luminance": 0.13618
}

Semantic roles & 50–950 ramp

primary
#784CCE
secondary
#C4D6A0
accent
#E048AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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