#784FD1#784FD1

#784FD1 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.191 H 293.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#784FD1
RGBrgb(120, 79, 209)
HSLhsl(259, 59%, 56%)
HSVhsv(259, 62%, 82%)
CMYKcmyk(42.6%, 62.2%, 0%, 18%)
CIE-LABlab(44.50, 46.43, -61.36)
CIE-LCHlch(44.50, 76.95, 307.12°)
OKLaboklab(54.14% 0.0762 -0.1751)
OKLCHoklch(54.14% 0.191 293.5)
XYZxyz(22.0472, 14.1879, 61.8862)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FD1 #A8D14F
analogous
#4F67D1 #784FD1 #B94FD1
triadic
#784FD1 #D1784F #4FD178
tetradic
#784FD1 #D14F67 #A8D14F #4FD1B9
square
#784FD1 #D14F67 #A8D14F #4FD1B9
split-complementary
#784FD1 #D1B94F #67D14F
monochromatic
#412283 #592FB4 #784FD1 #9D80DE #C2B0EA

Accessibility & contrast

On white

5.47
#784FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#784FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FD1
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FD1#FFFFFF#000000##FFFFFF
##784FD11.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#606D89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784fd1;
/* rgb */ color: rgb(120, 79, 209);
/* oklch */ color: oklch(54.1% 0.191 293.5);
Tailwind
colors: {
  custom: {
    50: '#a582e0',
    500: '#784fd1',
    950: '#000000',
  },
}
SCSS
$custom: #784fd1;
$custom-light: #a582e0;
$custom-dark: #000000;
JSON
{
  "hex": "#784fd1",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 258.923,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54144,
    "c": 0.19098,
    "h": 293.5
  },
  "luminance": 0.14188
}

Semantic roles & 50–950 ramp

primary
#784FD1
secondary
#C8D9A3
accent
#E246B1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #784FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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