#784686#784686

#784686 is a mid, moderate purple. Relative luminance 0.101; OKLCH L 47.9% C 0.114 H 318.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#784686
RGBrgb(120, 70, 134)
HSLhsl(287, 31%, 40%)
HSVhsv(287, 48%, 53%)
CMYKcmyk(10.4%, 47.8%, 0%, 47.5%)
CIE-LABlab(38.01, 32.74, -27.26)
CIE-LCHlch(38.01, 42.60, 320.21°)
OKLaboklab(47.91% 0.0855 -0.0754)
OKLCHoklch(47.91% 0.114 318.6)
XYZxyz(14.2384, 10.0951, 23.7482)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784686 #548646
analogous
#584686 #784686 #864674
triadic
#784686 #867846 #468678
tetradic
#784686 #865846 #548646 #467486
square
#784686 #865846 #548646 #467486
split-complementary
#784686 #748646 #468658
monochromatic
#301C36 #54315E #784686 #9A5EAB #B386C0

Accessibility & contrast

On white

6.96
#784686 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#784686 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784686
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784686#FFFFFF#000000##FFFFFF
##7846861.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5688
Deuteranopia (green-blind)
#495B84
Tritanopia (blue-blind)
#784F5F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #784686;
/* rgb */ color: rgb(120, 70, 134);
/* oklch */ color: oklch(47.9% 0.114 318.6);
Tailwind
colors: {
  custom: {
    50: '#a07ba9',
    500: '#784686',
    950: '#000000',
  },
}
SCSS
$custom: #784686;
$custom-light: #a07ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#784686",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 286.875,
    "s": 31.373,
    "l": 40
  },
  "oklch": {
    "l": 0.47909,
    "c": 0.11395,
    "h": 318.6
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

primary
#784686
secondary
#87AB7C
accent
#C86077
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #784686

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

Preview Lab → · Contrast checker → · Palette generator →

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