#782697#782697

#782697 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.180 H 314.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#782697
RGBrgb(120, 38, 151)
HSLhsl(284, 60%, 37%)
HSVhsv(284, 75%, 59%)
CMYKcmyk(20.5%, 74.8%, 0%, 40.8%)
CIE-LABlab(33.17, 52.28, -45.38)
CIE-LCHlch(33.17, 69.23, 319.05°)
OKLaboklab(44.71% 0.1273 -0.128)
OKLCHoklch(44.71% 0.18 314.8)
XYZxyz(14.0238, 7.6142, 30.0031)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782697 #459726
analogous
#402697 #782697 #97267E
triadic
#782697 #977826 #269778
tetradic
#782697 #974026 #459726 #267E97
square
#782697 #974026 #459726 #267E97
split-complementary
#782697 #7E9726 #269740
monochromatic
#2A0D35 #511A66 #782697 #9F32C8 #B660D7

Accessibility & contrast

On white

8.32
#782697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#782697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782697
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782697#FFFFFF#000000##FFFFFF
##7826971.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#215095
Tritanopia (blue-blind)
#753F5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782697;
/* rgb */ color: rgb(120, 38, 151);
/* oklch */ color: oklch(44.7% 0.180 314.8);
Tailwind
colors: {
  custom: {
    50: '#a369b6',
    500: '#782697',
    950: '#000000',
  },
}
SCSS
$custom: #782697;
$custom-light: #a369b6;
$custom-dark: #000000;
JSON
{
  "hex": "#782697",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 283.54,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44705,
    "c": 0.18046,
    "h": 314.8
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#782697
secondary
#77BC5C
accent
#E34570
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #782697

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

Preview Lab → · Contrast checker → · Palette generator →

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