#784BD2#784BD2

#784BD2 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.197 H 294.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#784BD2
RGBrgb(120, 75, 210)
HSLhsl(260, 60%, 56%)
HSVhsv(260, 64%, 82%)
CMYKcmyk(42.9%, 64.3%, 0%, 17.6%)
CIE-LABlab(43.77, 48.87, -63.12)
CIE-LCHlch(43.77, 79.83, 307.75°)
OKLaboklab(53.64% 0.0805 -0.1803)
OKLCHoklch(53.64% 0.197 294.1)
XYZxyz(21.8915, 13.6778, 62.4469)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BD2 #A5D24B
analogous
#4B61D2 #784BD2 #BB4BD2
triadic
#784BD2 #D2784B #4BD278
tetradic
#784BD2 #D24B61 #A5D24B #4BD2BB
square
#784BD2 #D24B61 #A5D24B #4BD2BB
split-complementary
#784BD2 #D2BB4B #61D24B
monochromatic
#412182 #5A2DB3 #784BD2 #9D7CDE #C1ADEA

Accessibility & contrast

On white

5.62
#784BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#784BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BD2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BD2#FFFFFF#000000##FFFFFF
##784BD21.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#5F6B88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784bd2;
/* rgb */ color: rgb(120, 75, 210);
/* oklch */ color: oklch(53.6% 0.197 294.1);
Tailwind
colors: {
  custom: {
    50: '#a580e1',
    500: '#784bd2',
    950: '#000000',
  },
}
SCSS
$custom: #784bd2;
$custom-light: #a580e1;
$custom-dark: #000000;
JSON
{
  "hex": "#784bd2",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 260,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53635,
    "c": 0.19742,
    "h": 294.1
  },
  "luminance": 0.13678
}

Semantic roles & 50–950 ramp

primary
#784BD2
secondary
#C6D8A0
accent
#E345AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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