#784FD5#784FD5

#784FD5 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.196 H 292.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#784FD5
RGBrgb(120, 79, 213)
HSLhsl(258, 61%, 57%)
HSVhsv(258, 63%, 84%)
CMYKcmyk(43.7%, 62.9%, 0%, 16.5%)
CIE-LABlab(44.78, 47.52, -63.19)
CIE-LCHlch(44.78, 79.07, 306.94°)
OKLaboklab(54.44% 0.0759 -0.1805)
OKLCHoklch(54.44% 0.196 292.8)
XYZxyz(22.5487, 14.3885, 64.5271)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FD5 #ACD54F
analogous
#4F69D5 #784FD5 #BB4FD5
triadic
#784FD5 #D5784F #4FD578
tetradic
#784FD5 #D54F69 #ACD54F #4FD5BB
square
#784FD5 #D54F69 #ACD54F #4FD5BB
split-complementary
#784FD5 #D5BB4F #69D54F
monochromatic
#412189 #582CBA #784FD5 #9E80E1 #C4B2ED

Accessibility & contrast

On white

5.42
#784FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#784FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FD5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FD5#FFFFFF#000000##FFFFFF
##784FD51.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#5E6E8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784fd5;
/* rgb */ color: rgb(120, 79, 213);
/* oklch */ color: oklch(54.4% 0.196 292.8);
Tailwind
colors: {
  custom: {
    50: '#a682e3',
    500: '#784fd5',
    950: '#000000',
  },
}
SCSS
$custom: #784fd5;
$custom-light: #a682e3;
$custom-dark: #000000;
JSON
{
  "hex": "#784fd5",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 258.358,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5444,
    "c": 0.19581,
    "h": 292.8
  },
  "luminance": 0.14389
}

Semantic roles & 50–950 ramp

primary
#784FD5
secondary
#CADBA5
accent
#E543B3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #784FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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