#782687#782687

#782687 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.166 H 321.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#782687
RGBrgb(120, 38, 135)
HSLhsl(291, 56%, 34%)
HSVhsv(291, 72%, 53%)
CMYKcmyk(11.1%, 71.9%, 0%, 47.1%)
CIE-LABlab(32.10, 49.04, -37.24)
CIE-LCHlch(32.10, 61.58, 322.79°)
OKLaboklab(43.61% 0.1287 -0.1041)
OKLCHoklch(43.61% 0.166 321)
XYZxyz(12.8115, 7.1292, 23.6182)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782687 #358726
analogous
#482687 #782687 #872666
triadic
#782687 #877826 #268778
tetradic
#782687 #874826 #358726 #266687
square
#782687 #874826 #358726 #266687
split-complementary
#782687 #668726 #268748
monochromatic
#230B27 #4E1957 #782687 #A233B7 #BD58D0

Accessibility & contrast

On white

8.66
#782687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#782687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782687
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782687#FFFFFF#000000##FFFFFF
##7826871.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#314E85
Tritanopia (blue-blind)
#793854
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782687;
/* rgb */ color: rgb(120, 38, 135);
/* oklch */ color: oklch(43.6% 0.166 321.0);
Tailwind
colors: {
  custom: {
    50: '#a268aa',
    500: '#782687',
    950: '#000000',
  },
}
SCSS
$custom: #782687;
$custom-light: #a268aa;
$custom-dark: #000000;
JSON
{
  "hex": "#782687",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 290.722,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43605,
    "c": 0.16556,
    "h": 321
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

primary
#782687
secondary
#63B554
accent
#DF4860
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782687

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

Preview Lab → · Contrast checker → · Palette generator →

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