#784682#784682

#784682 is a mid, moderate purple. Relative luminance 0.100; OKLCH L 47.7% C 0.109 H 320.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#784682
RGBrgb(120, 70, 130)
HSLhsl(290, 30%, 39%)
HSVhsv(290, 46%, 51%)
CMYKcmyk(7.7%, 46.2%, 0%, 49%)
CIE-LABlab(37.82, 31.87, -25.11)
CIE-LCHlch(37.82, 40.58, 321.76°)
OKLaboklab(47.7% 0.0847 -0.0692)
OKLCHoklch(47.7% 0.109 320.8)
XYZxyz(13.9647, 9.9856, 22.3066)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784682 #508246
analogous
#5A4682 #784682 #82466E
triadic
#784682 #827846 #468278
tetradic
#784682 #825A46 #508246 #466E82
square
#784682 #825A46 #508246 #466E82
split-complementary
#784682 #6E8246 #46825A
monochromatic
#2F1B32 #53315A #784682 #9B5DA8 #B485BD

Accessibility & contrast

On white

7.01
#784682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#784682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784682
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784682#FFFFFF#000000##FFFFFF
##7846821.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5584
Deuteranopia (green-blind)
#4B5B80
Tritanopia (blue-blind)
#794E5E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #784682;
/* rgb */ color: rgb(120, 70, 130);
/* oklch */ color: oklch(47.7% 0.109 320.8);
Tailwind
colors: {
  custom: {
    50: '#a07ba6',
    500: '#784682',
    950: '#000000',
  },
}
SCSS
$custom: #784682;
$custom-light: #a07ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#784682",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 290,
    "s": 30,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47699,
    "c": 0.1094,
    "h": 320.8
  },
  "luminance": 0.09985
}

Semantic roles & 50–950 ramp

primary
#784682
secondary
#83A97B
accent
#C66272
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #784682

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

Preview Lab → · Contrast checker → · Palette generator →

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