#784698#784698

#784698 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.9% C 0.135 H 310.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#784698
RGBrgb(120, 70, 152)
HSLhsl(277, 37%, 44%)
HSVhsv(277, 54%, 60%)
CMYKcmyk(21.1%, 53.9%, 0%, 40.4%)
CIE-LABlab(38.97, 36.84, -36.70)
CIE-LCHlch(38.97, 52.00, 315.11°)
OKLaboklab(48.93% 0.0877 -0.1028)
OKLCHoklch(48.93% 0.135 310.5)
XYZxyz(15.6023, 10.6407, 30.9316)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784698 #669846
analogous
#4F4698 #784698 #98468F
triadic
#784698 #987846 #469878
tetradic
#784698 #984F46 #669846 #468F98
square
#784698 #984F46 #669846 #468F98
split-complementary
#784698 #8F9846 #46984F
monochromatic
#361F44 #57336E #784698 #9764B7 #B38ECB

Accessibility & contrast

On white

6.71
#784698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#784698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784698
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784698#FFFFFF#000000##FFFFFF
##7846981.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599B
Deuteranopia (green-blind)
#3F5D96
Tritanopia (blue-blind)
#745468
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #784698;
/* rgb */ color: rgb(120, 70, 152);
/* oklch */ color: oklch(48.9% 0.135 310.5);
Tailwind
colors: {
  custom: {
    50: '#a17bb7',
    500: '#784698',
    950: '#000000',
  },
}
SCSS
$custom: #784698;
$custom-light: #a17bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#784698",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 276.585,
    "s": 36.937,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48929,
    "c": 0.13512,
    "h": 310.5
  },
  "luminance": 0.1064
}

Semantic roles & 50–950 ramp

primary
#784698
secondary
#97B684
accent
#CD5B87
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784698

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

Preview Lab → · Contrast checker → · Palette generator →

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