#784FD2#784FD2

#784FD2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.192 H 293.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#784FD2
RGBrgb(120, 79, 210)
HSLhsl(259, 59%, 57%)
HSVhsv(259, 62%, 82%)
CMYKcmyk(42.9%, 62.4%, 0%, 17.6%)
CIE-LABlab(44.57, 46.71, -61.82)
CIE-LCHlch(44.57, 77.48, 307.07°)
OKLaboklab(54.22% 0.0762 -0.1764)
OKLCHoklch(54.22% 0.192 293.3)
XYZxyz(22.1714, 14.2376, 62.5402)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FD2 #A9D24F
analogous
#4F68D2 #784FD2 #BA4FD2
triadic
#784FD2 #D2784F #4FD278
tetradic
#784FD2 #D24F68 #A9D24F #4FD2BA
square
#784FD2 #D24F68 #A9D24F #4FD2BA
split-complementary
#784FD2 #D2BA4F #68D24F
monochromatic
#412285 #592EB5 #784FD2 #9D80DE #C3B0EB

Accessibility & contrast

On white

5.46
#784FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#784FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FD2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FD2#FFFFFF#000000##FFFFFF
##784FD21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#5F6D89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784fd2;
/* rgb */ color: rgb(120, 79, 210);
/* oklch */ color: oklch(54.2% 0.192 293.3);
Tailwind
colors: {
  custom: {
    50: '#a582e1',
    500: '#784fd2',
    950: '#000000',
  },
}
SCSS
$custom: #784fd2;
$custom-light: #a582e1;
$custom-dark: #000000;
JSON
{
  "hex": "#784fd2",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 258.779,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54217,
    "c": 0.19218,
    "h": 293.3
  },
  "luminance": 0.14238
}

Semantic roles & 50–950 ramp

primary
#784FD2
secondary
#C8D9A4
accent
#E245B1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #784FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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