#784DBC#784DBC

#784DBC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.168 H 298.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#784DBC
RGBrgb(120, 77, 188)
HSLhsl(263, 45%, 52%)
HSVhsv(263, 59%, 74%)
CMYKcmyk(36.2%, 59%, 0%, 26.3%)
CIE-LABlab(42.66, 41.92, -52.17)
CIE-LCHlch(42.66, 66.92, 308.79°)
OKLaboklab(52.35% 0.0795 -0.1481)
OKLCHoklch(52.35% 0.168 298.2)
XYZxyz(19.4744, 12.9314, 49.0372)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DBC #91BC4D
analogous
#4D5ABC #784DBC #AF4DBC
triadic
#784DBC #BC784D #4DBC78
tetradic
#784DBC #BC4D5A #91BC4D #4DBCAF
square
#784DBC #BC4D5A #91BC4D #4DBCAF
split-complementary
#784DBC #BCAF4D #5ABC4D
monochromatic
#402768 #5C3894 #784DBC #9A79CD #BBA6DD

Accessibility & contrast

On white

5.86
#784DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#784DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DBC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DBC#FFFFFF#000000##FFFFFF
##784DBC1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C65C0
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#69647D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784dbc;
/* rgb */ color: rgb(120, 77, 188);
/* oklch */ color: oklch(52.3% 0.168 298.2);
Tailwind
colors: {
  custom: {
    50: '#a381d1',
    500: '#784dbc',
    950: '#000000',
  },
}
SCSS
$custom: #784dbc;
$custom-light: #a381d1;
$custom-dark: #000000;
JSON
{
  "hex": "#784dbc",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 263.243,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52348,
    "c": 0.16809,
    "h": 298.2
  },
  "luminance": 0.12932
}

Semantic roles & 50–950 ramp

primary
#784DBC
secondary
#B8CB9A
accent
#D553A3
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #784DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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