#784CB4#784CB4

#784CB4 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.160 H 300.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#784CB4
RGBrgb(120, 76, 180)
HSLhsl(265, 41%, 50%)
HSVhsv(265, 58%, 71%)
CMYKcmyk(33.3%, 57.8%, 0%, 29.4%)
CIE-LABlab(41.93, 40.40, -48.64)
CIE-LCHlch(41.93, 63.23, 309.71°)
OKLaboklab(51.65% 0.0808 -0.1377)
OKLCHoklch(51.65% 0.16 300.4)
XYZxyz(18.5664, 12.4571, 44.5975)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CB4 #88B44C
analogous
#4C54B4 #784CB4 #AC4CB4
triadic
#784CB4 #B4784C #4CB478
tetradic
#784CB4 #B44C54 #88B44C #4CB4AC
square
#784CB4 #B44C54 #88B44C #4CB4AC
split-complementary
#784CB4 #B4AC4C #54B44C
monochromatic
#3F275E #5B3A89 #784CB4 #9977C6 #B9A2D8

Accessibility & contrast

On white

6.01
#784CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#784CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CB4
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CB4#FFFFFF#000000##FFFFFF
##784CB41.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B63B7
Deuteranopia (green-blind)
#2E62B2
Tritanopia (blue-blind)
#6C6179
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #784cb4;
/* rgb */ color: rgb(120, 76, 180);
/* oklch */ color: oklch(51.7% 0.160 300.4);
Tailwind
colors: {
  custom: {
    50: '#a380cb',
    500: '#784cb4',
    950: '#000000',
  },
}
SCSS
$custom: #784cb4;
$custom-light: #a380cb;
$custom-dark: #000000;
JSON
{
  "hex": "#784cb4",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 265.385,
    "s": 40.945,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51652,
    "c": 0.1597,
    "h": 300.4
  },
  "luminance": 0.12457
}

Semantic roles & 50–950 ramp

primary
#784CB4
secondary
#B1C597
accent
#D1579D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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