#784DD7#784DD7

#784DD7 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.3% C 0.201 H 292.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#784DD7
RGBrgb(120, 77, 215)
HSLhsl(259, 63%, 57%)
HSVhsv(259, 64%, 84%)
CMYKcmyk(44.2%, 64.2%, 0%, 15.7%)
CIE-LABlab(44.53, 49.15, -64.75)
CIE-LCHlch(44.53, 81.29, 307.20°)
OKLaboklab(54.3% 0.0779 -0.1851)
OKLCHoklch(54.3% 0.201 292.8)
XYZxyz(22.6620, 14.2064, 65.8249)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DD7 #ACD74D
analogous
#4D67D7 #784DD7 #BD4DD7
triadic
#784DD7 #D7784D #4DD778
tetradic
#784DD7 #D74D67 #ACD74D #4DD7BD
square
#784DD7 #D74D67 #ACD74D #4DD7BD
split-complementary
#784DD7 #D7BD4D #67D74D
monochromatic
#411F8A #582ABC #784DD7 #9E7FE2 #C4B1ED

Accessibility & contrast

On white

5.47
#784DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784DD7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DD7#FFFFFF#000000##FFFFFF
##784DD71.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#5D6E8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784dd7;
/* rgb */ color: rgb(120, 77, 215);
/* oklch */ color: oklch(54.3% 0.201 292.8);
Tailwind
colors: {
  custom: {
    50: '#a681e4',
    500: '#784dd7',
    950: '#000000',
  },
}
SCSS
$custom: #784dd7;
$custom-light: #a681e4;
$custom-dark: #000000;
JSON
{
  "hex": "#784dd7",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 258.696,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.2008,
    "h": 292.8
  },
  "luminance": 0.14207
}

Semantic roles & 50–950 ramp

primary
#784DD7
secondary
#CADCA4
accent
#E641B3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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