#784BCC#784BCC

#784BCC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.190 H 295.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#784BCC
RGBrgb(120, 75, 204)
HSLhsl(261, 56%, 55%)
HSVhsv(261, 63%, 80%)
CMYKcmyk(41.2%, 63.2%, 0%, 20%)
CIE-LABlab(43.34, 47.27, -60.36)
CIE-LCHlch(43.34, 76.67, 308.06°)
OKLaboklab(53.19% 0.081 -0.1722)
OKLCHoklch(53.19% 0.19 295.2)
XYZxyz(21.1580, 13.3844, 58.5837)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BCC #9FCC4B
analogous
#4B5FCC #784BCC #B84BCC
triadic
#784BCC #CC784B #4BCC78
tetradic
#784BCC #CC4B5F #9FCC4B #4BCCB8
square
#784BCC #CC4B5F #9FCC4B #4BCCB8
split-complementary
#784BCC #CCB84B #5FCC4B
monochromatic
#41237A #5B30AA #784BCC #9C7BDA #C0AAE7

Accessibility & contrast

On white

5.71
#784BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#784BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BCC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BCC#FFFFFF#000000##FFFFFF
##784BCC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#626985
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784bcc;
/* rgb */ color: rgb(120, 75, 204);
/* oklch */ color: oklch(53.2% 0.190 295.2);
Tailwind
colors: {
  custom: {
    50: '#a580dc',
    500: '#784bcc',
    950: '#000000',
  },
}
SCSS
$custom: #784bcc;
$custom-light: #a580dc;
$custom-dark: #000000;
JSON
{
  "hex": "#784bcc",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 260.93,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53187,
    "c": 0.19028,
    "h": 295.2
  },
  "luminance": 0.13385
}

Semantic roles & 50–950 ramp

primary
#784BCC
secondary
#C2D59E
accent
#DF49AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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