#784696#784696

#784696 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.8% C 0.133 H 311.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#784696
RGBrgb(120, 70, 150)
HSLhsl(278, 36%, 43%)
HSVhsv(278, 53%, 59%)
CMYKcmyk(20%, 53.3%, 0%, 41.2%)
CIE-LABlab(38.86, 36.37, -35.67)
CIE-LCHlch(38.86, 50.94, 315.55°)
OKLaboklab(48.81% 0.0876 -0.0997)
OKLCHoklch(48.81% 0.133 311.3)
XYZxyz(15.4399, 10.5757, 30.0762)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784696 #649646
analogous
#504696 #784696 #96468C
triadic
#784696 #967846 #469678
tetradic
#784696 #965046 #649646 #468C96
square
#784696 #965046 #649646 #468C96
split-complementary
#784696 #8C9646 #469650
monochromatic
#351F43 #57336C #784696 #9763B6 #B38DCA

Accessibility & contrast

On white

6.74
#784696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#784696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784696
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784696#FFFFFF#000000##FFFFFF
##7846961.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315999
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#755367
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #784696;
/* rgb */ color: rgb(120, 70, 150);
/* oklch */ color: oklch(48.8% 0.133 311.3);
Tailwind
colors: {
  custom: {
    50: '#a17bb5',
    500: '#784696',
    950: '#000000',
  },
}
SCSS
$custom: #784696;
$custom-light: #a17bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#784696",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 150
  },
  "hsl": {
    "h": 277.5,
    "s": 36.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4881,
    "c": 0.13273,
    "h": 311.3
  },
  "luminance": 0.10575
}

Semantic roles & 50–950 ramp

primary
#784696
secondary
#96B583
accent
#CC5B86
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784696

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

Preview Lab → · Contrast checker → · Palette generator →

#784696 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva