#784FD3#784FD3

#784FD3 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.3% C 0.193 H 293.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#784FD3
RGBrgb(120, 79, 211)
HSLhsl(259, 60%, 57%)
HSVhsv(259, 63%, 83%)
CMYKcmyk(43.1%, 62.6%, 0%, 17.3%)
CIE-LABlab(44.64, 46.98, -62.28)
CIE-LCHlch(44.64, 78.01, 307.03°)
OKLaboklab(54.29% 0.0761 -0.1778)
OKLCHoklch(54.29% 0.193 293.2)
XYZxyz(22.2964, 14.2875, 63.1984)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FD3 #AAD34F
analogous
#4F68D3 #784FD3 #BA4FD3
triadic
#784FD3 #D3784F #4FD378
tetradic
#784FD3 #D34F68 #AAD34F #4FD3BA
square
#784FD3 #D34F68 #AAD34F #4FD3BA
split-complementary
#784FD3 #D3BA4F #68D34F
monochromatic
#412286 #582EB7 #784FD3 #9E80DF #C3B1EB

Accessibility & contrast

On white

5.44
#784FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#784FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FD3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FD3#FFFFFF#000000##FFFFFF
##784FD31.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#5F6D8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784fd3;
/* rgb */ color: rgb(120, 79, 211);
/* oklch */ color: oklch(54.3% 0.193 293.2);
Tailwind
colors: {
  custom: {
    50: '#a582e1',
    500: '#784fd3',
    950: '#000000',
  },
}
SCSS
$custom: #784fd3;
$custom-light: #a582e1;
$custom-dark: #000000;
JSON
{
  "hex": "#784fd3",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 258.636,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54291,
    "c": 0.19339,
    "h": 293.2
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

primary
#784FD3
secondary
#C9DAA4
accent
#E345B2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #784FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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