#784FD0#784FD0

#784FD0 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.190 H 293.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#784FD0
RGBrgb(120, 79, 208)
HSLhsl(259, 58%, 56%)
HSVhsv(259, 62%, 82%)
CMYKcmyk(42.3%, 62%, 0%, 18.4%)
CIE-LABlab(44.43, 46.16, -60.90)
CIE-LCHlch(44.43, 76.41, 307.16°)
OKLaboklab(54.07% 0.0763 -0.1737)
OKLCHoklch(54.07% 0.19 293.7)
XYZxyz(21.9238, 14.1385, 61.2362)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FD0 #A7D04F
analogous
#4F67D0 #784FD0 #B94FD0
triadic
#784FD0 #D0784F #4FD078
tetradic
#784FD0 #D04F67 #A7D04F #4FD0B9
square
#784FD0 #D04F67 #A7D04F #4FD0B9
split-complementary
#784FD0 #D0B94F #67D04F
monochromatic
#412382 #5930B2 #784FD0 #9D7FDD #C2B0EA

Accessibility & contrast

On white

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

On black

3.83
#784FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##784FD0#FFFFFF#000000##FFFFFF
##784FD01.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#606C88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784fd0;
/* rgb */ color: rgb(120, 79, 208);
/* oklch */ color: oklch(54.1% 0.190 293.7);
Tailwind
colors: {
  custom: {
    50: '#a582df',
    500: '#784fd0',
    950: '#000000',
  },
}
SCSS
$custom: #784fd0;
$custom-light: #a582df;
$custom-dark: #000000;
JSON
{
  "hex": "#784fd0",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 208
  },
  "hsl": {
    "h": 259.07,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54071,
    "c": 0.18976,
    "h": 293.7
  },
  "luminance": 0.14139
}

Semantic roles & 50–950 ramp

primary
#784FD0
secondary
#C7D8A3
accent
#E147B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #784FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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