#784CD7#784CD7

#784CD7 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.2% C 0.202 H 293.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#784CD7
RGBrgb(120, 76, 215)
HSLhsl(259, 63%, 57%)
HSVhsv(259, 65%, 84%)
CMYKcmyk(44.2%, 64.7%, 0%, 15.7%)
CIE-LABlab(44.33, 49.69, -65.08)
CIE-LCHlch(44.33, 81.87, 307.36°)
OKLaboklab(54.16% 0.0789 -0.186)
OKLCHoklch(54.16% 0.202 293)
XYZxyz(22.5926, 14.0676, 65.8018)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CD7 #ABD74C
analogous
#4C66D7 #784CD7 #BE4CD7
triadic
#784CD7 #D7784C #4CD778
tetradic
#784CD7 #D74C66 #ABD74C #4CD7BE
square
#784CD7 #D74C66 #ABD74C #4CD7BE
split-complementary
#784CD7 #D7BE4C #66D74C
monochromatic
#411F8A #582ABC #784CD7 #9E7EE2 #C3B0ED

Accessibility & contrast

On white

5.51
#784CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#784CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CD7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CD7#FFFFFF#000000##FFFFFF
##784CD71.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #784cd7;
/* rgb */ color: rgb(120, 76, 215);
/* oklch */ color: oklch(54.2% 0.202 293.0);
Tailwind
colors: {
  custom: {
    50: '#a681e4',
    500: '#784cd7',
    950: '#000000',
  },
}
SCSS
$custom: #784cd7;
$custom-light: #a681e4;
$custom-dark: #000000;
JSON
{
  "hex": "#784cd7",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 258.993,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.20207,
    "h": 293
  },
  "luminance": 0.14068
}

Semantic roles & 50–950 ramp

primary
#784CD7
secondary
#CADCA3
accent
#E641B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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