#784CB0#784CB0

#784CB0 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.4% C 0.155 H 301.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#784CB0
RGBrgb(120, 76, 176)
HSLhsl(266, 40%, 49%)
HSVhsv(266, 57%, 69%)
CMYKcmyk(31.8%, 56.8%, 0%, 31%)
CIE-LABlab(41.68, 39.37, -46.69)
CIE-LCHlch(41.68, 61.07, 310.14°)
OKLaboklab(51.39% 0.0808 -0.132)
OKLCHoklch(51.39% 0.155 301.5)
XYZxyz(18.1648, 12.2965, 42.4824)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CB0 #84B04C
analogous
#4C52B0 #784CB0 #AA4CB0
triadic
#784CB0 #B0784C #4CB078
tetradic
#784CB0 #B04C52 #84B04C #4CB0AA
square
#784CB0 #B04C52 #84B04C #4CB0AA
split-complementary
#784CB0 #B0AA4C #52B04C
monochromatic
#3E275B #5B3A85 #784CB0 #9876C4 #B8A0D6

Accessibility & contrast

On white

6.07
#784CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#784CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CB0
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CB0#FFFFFF#000000##FFFFFF
##784CB01.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2262B3
Deuteranopia (green-blind)
#3262AE
Tritanopia (blue-blind)
#6D6076
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #784cb0;
/* rgb */ color: rgb(120, 76, 176);
/* oklch */ color: oklch(51.4% 0.155 301.5);
Tailwind
colors: {
  custom: {
    50: '#a280c8',
    500: '#784cb0',
    950: '#000000',
  },
}
SCSS
$custom: #784cb0;
$custom-light: #a280c8;
$custom-dark: #000000;
JSON
{
  "hex": "#784cb0",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 266.4,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.15475,
    "h": 301.5
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#784CB0
secondary
#AFC395
accent
#D0589B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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