#784DBE#784DBE

#784DBE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.171 H 297.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#784DBE
RGBrgb(120, 77, 190)
HSLhsl(263, 47%, 52%)
HSVhsv(263, 59%, 75%)
CMYKcmyk(36.8%, 59.5%, 0%, 25.5%)
CIE-LABlab(42.79, 42.45, -53.12)
CIE-LCHlch(42.79, 68.00, 308.63°)
OKLaboklab(52.49% 0.0795 -0.1509)
OKLCHoklch(52.49% 0.171 297.8)
XYZxyz(19.6915, 13.0183, 50.1805)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DBE #93BE4D
analogous
#4D5ABE #784DBE #B14DBE
triadic
#784DBE #BE784D #4DBE78
tetradic
#784DBE #BE4D5A #93BE4D #4DBEB1
square
#784DBE #BE4D5A #93BE4D #4DBEB1
split-complementary
#784DBE #BEB14D #5ABE4D
monochromatic
#40276A #5B3797 #784DBE #9A7ACE #BCA7DF

Accessibility & contrast

On white

5.83
#784DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#784DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DBE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DBE#FFFFFF#000000##FFFFFF
##784DBE1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0465C2
Deuteranopia (green-blind)
#2164BB
Tritanopia (blue-blind)
#68657E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784dbe;
/* rgb */ color: rgb(120, 77, 190);
/* oklch */ color: oklch(52.5% 0.171 297.8);
Tailwind
colors: {
  custom: {
    50: '#a381d2',
    500: '#784dbe',
    950: '#000000',
  },
}
SCSS
$custom: #784dbe;
$custom-light: #a381d2;
$custom-dark: #000000;
JSON
{
  "hex": "#784dbe",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 262.832,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52486,
    "c": 0.17055,
    "h": 297.8
  },
  "luminance": 0.13019
}

Semantic roles & 50–950 ramp

primary
#784DBE
secondary
#B9CC9B
accent
#D652A4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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