#784CD8#784CD8

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

Color values

HEX#784CD8
RGBrgb(120, 76, 216)
HSLhsl(259, 64%, 57%)
HSVhsv(259, 65%, 85%)
CMYKcmyk(44.4%, 64.8%, 0%, 15.3%)
CIE-LABlab(44.40, 49.96, -65.53)
CIE-LCHlch(44.40, 82.40, 307.32°)
OKLaboklab(54.23% 0.0788 -0.1874)
OKLCHoklch(54.23% 0.203 292.8)
XYZxyz(22.7214, 14.1191, 66.4805)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CD8 #ACD84C
analogous
#4C66D8 #784CD8 #BE4CD8
triadic
#784CD8 #D8784C #4CD878
tetradic
#784CD8 #D84C66 #ACD84C #4CD8BE
square
#784CD8 #D84C66 #ACD84C #4CD8BE
split-complementary
#784CD8 #D8BE4C #66D84C
monochromatic
#411E8B #5829BE #784CD8 #9E7EE3 #C4B1EE

Accessibility & contrast

On white

5.49
#784CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#784CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CD8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CD8#FFFFFF#000000##FFFFFF
##784CD81.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#5C6D8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784cd8;
/* rgb */ color: rgb(120, 76, 216);
/* oklch */ color: oklch(54.2% 0.203 292.8);
Tailwind
colors: {
  custom: {
    50: '#a681e5',
    500: '#784cd8',
    950: '#000000',
  },
}
SCSS
$custom: #784cd8;
$custom-light: #a681e5;
$custom-dark: #000000;
JSON
{
  "hex": "#784cd8",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 258.857,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54232,
    "c": 0.20325,
    "h": 292.8
  },
  "luminance": 0.1412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #784CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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