#784CDA#784CDA

#784CDA is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.206 H 292.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#784CDA
RGBrgb(120, 76, 218)
HSLhsl(259, 66%, 58%)
HSVhsv(259, 65%, 85%)
CMYKcmyk(45%, 65.1%, 0%, 14.5%)
CIE-LABlab(44.55, 50.50, -66.43)
CIE-LCHlch(44.55, 83.44, 307.24°)
OKLaboklab(54.38% 0.0786 -0.19)
OKLCHoklch(54.38% 0.206 292.5)
XYZxyz(22.9816, 14.2232, 67.8506)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CDA #AEDA4C
analogous
#4C67DA #784CDA #BF4CDA
triadic
#784CDA #DA784C #4CDA78
tetradic
#784CDA #DA4C67 #AEDA4C #4CDABF
square
#784CDA #DA4C67 #AEDA4C #4CDABF
split-complementary
#784CDA #DABF4C #67DA4C
monochromatic
#401D8E #5728C1 #784CDA #9E7FE4 #C5B1EF

Accessibility & contrast

On white

5.46
#784CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#784CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CDA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CDA#FFFFFF#000000##FFFFFF
##784CDA1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#5B6E8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784cda;
/* rgb */ color: rgb(120, 76, 218);
/* oklch */ color: oklch(54.4% 0.206 292.5);
Tailwind
colors: {
  custom: {
    50: '#a681e6',
    500: '#784cda',
    950: '#000000',
  },
}
SCSS
$custom: #784cda;
$custom-light: #a681e6;
$custom-dark: #000000;
JSON
{
  "hex": "#784cda",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 258.592,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54385,
    "c": 0.20561,
    "h": 292.5
  },
  "luminance": 0.14224
}

Semantic roles & 50–950 ramp

primary
#784CDA
secondary
#CCDDA4
accent
#E93FB4
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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