#784CB3#784CB3

#784CB3 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.158 H 300.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#784CB3
RGBrgb(120, 76, 179)
HSLhsl(266, 40%, 50%)
HSVhsv(266, 58%, 70%)
CMYKcmyk(33%, 57.5%, 0%, 29.8%)
CIE-LABlab(41.87, 40.14, -48.16)
CIE-LCHlch(41.87, 62.69, 309.81°)
OKLaboklab(51.59% 0.0808 -0.1363)
OKLCHoklch(51.59% 0.158 300.7)
XYZxyz(18.4649, 12.4165, 44.0629)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CB3 #87B34C
analogous
#4C54B3 #784CB3 #AB4CB3
triadic
#784CB3 #B3784C #4CB378
tetradic
#784CB3 #B34C54 #87B34C #4CB3AB
square
#784CB3 #B34C54 #87B34C #4CB3AB
split-complementary
#784CB3 #B3AB4C #54B34C
monochromatic
#3E285D #5B3A88 #784CB3 #9877C5 #B9A2D7

Accessibility & contrast

On white

6.03
#784CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#784CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CB3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CB3#FFFFFF#000000##FFFFFF
##784CB31.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D62B6
Deuteranopia (green-blind)
#2F62B1
Tritanopia (blue-blind)
#6C6178
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #784cb3;
/* rgb */ color: rgb(120, 76, 179);
/* oklch */ color: oklch(51.6% 0.158 300.7);
Tailwind
colors: {
  custom: {
    50: '#a280ca',
    500: '#784cb3',
    950: '#000000',
  },
}
SCSS
$custom: #784cb3;
$custom-light: #a280ca;
$custom-dark: #000000;
JSON
{
  "hex": "#784cb3",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 265.631,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.51585,
    "c": 0.15847,
    "h": 300.7
  },
  "luminance": 0.12417
}

Semantic roles & 50–950 ramp

primary
#784CB3
secondary
#B1C496
accent
#D0589D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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