#784CDC#784CDC

#784CDC is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.208 H 292.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#784CDC
RGBrgb(120, 76, 220)
HSLhsl(258, 67%, 58%)
HSVhsv(258, 65%, 86%)
CMYKcmyk(45.5%, 65.5%, 0%, 13.7%)
CIE-LABlab(44.70, 51.04, -67.33)
CIE-LCHlch(44.70, 84.49, 307.16°)
OKLaboklab(54.54% 0.0783 -0.1927)
OKLCHoklch(54.54% 0.208 292.1)
XYZxyz(23.2449, 14.3285, 69.2372)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CDC #B0DC4C
analogous
#4C68DC #784CDC #C04CDC
triadic
#784CDC #DC784C #4CDC78
tetradic
#784CDC #DC4C68 #B0DC4C #4CDCC0
square
#784CDC #DC4C68 #B0DC4C #4CDCC0
split-complementary
#784CDC #DCC04C #68DC4C
monochromatic
#401C91 #5726C4 #784CDC #9F7FE6 #C5B2F0

Accessibility & contrast

On white

5.43
#784CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#784CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CDC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CDC#FFFFFF#000000##FFFFFF
##784CDC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#5A6F8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784cdc;
/* rgb */ color: rgb(120, 76, 220);
/* oklch */ color: oklch(54.5% 0.208 292.1);
Tailwind
colors: {
  custom: {
    50: '#a681e8',
    500: '#784cdc',
    950: '#000000',
  },
}
SCSS
$custom: #784cdc;
$custom-light: #a681e8;
$custom-dark: #000000;
JSON
{
  "hex": "#784cdc",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 258.333,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54539,
    "c": 0.20797,
    "h": 292.1
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#784CDC
secondary
#CDDFA5
accent
#EA3EB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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