#784BCA#784BCA

#784BCA is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.188 H 295.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#784BCA
RGBrgb(120, 75, 202)
HSLhsl(261, 55%, 54%)
HSVhsv(261, 63%, 79%)
CMYKcmyk(40.6%, 62.9%, 0%, 20.8%)
CIE-LABlab(43.20, 46.73, -59.44)
CIE-LCHlch(43.20, 75.61, 308.18°)
OKLaboklab(53.04% 0.0812 -0.1694)
OKLCHoklch(53.04% 0.188 295.6)
XYZxyz(20.9197, 13.2890, 57.3285)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BCA #9DCA4B
analogous
#4B5ECA #784BCA #B84BCA
triadic
#784BCA #CA784B #4BCA78
tetradic
#784BCA #CA4B5E #9DCA4B #4BCAB8
square
#784BCA #CA4B5E #9DCA4B #4BCAB8
split-complementary
#784BCA #CAB84B #5ECA4B
monochromatic
#412377 #5B31A7 #784BCA #9B7AD8 #BFAAE6

Accessibility & contrast

On white

5.74
#784BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#784BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BCA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BCA#FFFFFF#000000##FFFFFF
##784BCA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#636884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784bca;
/* rgb */ color: rgb(120, 75, 202);
/* oklch */ color: oklch(53.0% 0.188 295.6);
Tailwind
colors: {
  custom: {
    50: '#a580db',
    500: '#784bca',
    950: '#000000',
  },
}
SCSS
$custom: #784bca;
$custom-light: #a580db;
$custom-dark: #000000;
JSON
{
  "hex": "#784bca",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 261.26,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5304,
    "c": 0.1879,
    "h": 295.6
  },
  "luminance": 0.13289
}

Semantic roles & 50–950 ramp

primary
#784BCA
secondary
#C0D39D
accent
#DE4AA9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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