#784684#784684

#784684 is a mid, moderate purple. Relative luminance 0.100; OKLCH L 47.8% C 0.112 H 319.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#784684
RGBrgb(120, 70, 132)
HSLhsl(288, 31%, 40%)
HSVhsv(288, 47%, 52%)
CMYKcmyk(9.1%, 47%, 0%, 48.2%)
CIE-LABlab(37.91, 32.30, -26.19)
CIE-LCHlch(37.91, 41.58, 320.96°)
OKLaboklab(47.8% 0.0851 -0.0723)
OKLCHoklch(47.8% 0.112 319.7)
XYZxyz(14.1002, 10.0398, 23.0205)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784684 #528446
analogous
#594684 #784684 #844671
triadic
#784684 #847846 #468478
tetradic
#784684 #845946 #528446 #467184
square
#784684 #845946 #528446 #467184
split-complementary
#784684 #718446 #468459
monochromatic
#2F1C34 #54315C #784684 #9B5EA9 #B486BF

Accessibility & contrast

On white

6.98
#784684 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#784684 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784684
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784684#FFFFFF#000000##FFFFFF
##7846841.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5686
Deuteranopia (green-blind)
#4A5B82
Tritanopia (blue-blind)
#794E5F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #784684;
/* rgb */ color: rgb(120, 70, 132);
/* oklch */ color: oklch(47.8% 0.112 319.7);
Tailwind
colors: {
  custom: {
    50: '#a07ba8',
    500: '#784684',
    950: '#000000',
  },
}
SCSS
$custom: #784684;
$custom-light: #a07ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#784684",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 132
  },
  "hsl": {
    "h": 288.387,
    "s": 30.693,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47803,
    "c": 0.11166,
    "h": 319.7
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#784684
secondary
#85AA7C
accent
#C76175
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #784684

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

Preview Lab → · Contrast checker → · Palette generator →

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