#784DCE#784DCE

#784DCE is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.190 H 294.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#784DCE
RGBrgb(120, 77, 206)
HSLhsl(260, 57%, 55%)
HSVhsv(260, 63%, 81%)
CMYKcmyk(41.7%, 62.6%, 0%, 19.2%)
CIE-LABlab(43.88, 46.72, -60.63)
CIE-LCHlch(43.88, 76.54, 307.61°)
OKLaboklab(53.63% 0.0787 -0.173)
OKLCHoklch(53.63% 0.19 294.5)
XYZxyz(21.5372, 13.7565, 59.9011)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DCE #A3CE4D
analogous
#4D62CE #784DCE #B84DCE
triadic
#784DCE #CE784D #4DCE78
tetradic
#784DCE #CE4D62 #A3CE4D #4DCEB8
square
#784DCE #CE4D62 #A3CE4D #4DCEB8
split-complementary
#784DCE #CEB84D #62CE4D
monochromatic
#41237E #5A30AE #784DCE #9C7DDB #C1ADE8

Accessibility & contrast

On white

5.60
#784DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#784DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DCE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DCE#FFFFFF#000000##FFFFFF
##784DCE1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#616A86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784dce;
/* rgb */ color: rgb(120, 77, 206);
/* oklch */ color: oklch(53.6% 0.190 294.5);
Tailwind
colors: {
  custom: {
    50: '#a581de',
    500: '#784dce',
    950: '#000000',
  },
}
SCSS
$custom: #784dce;
$custom-light: #a581de;
$custom-dark: #000000;
JSON
{
  "hex": "#784dce",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 260,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53627,
    "c": 0.19002,
    "h": 294.5
  },
  "luminance": 0.13757
}

Semantic roles & 50–950 ramp

primary
#784DCE
secondary
#C4D6A1
accent
#E048AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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