#782889#782889

#782889 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.165 H 320.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#782889
RGBrgb(120, 40, 137)
HSLhsl(289, 55%, 35%)
HSVhsv(289, 71%, 54%)
CMYKcmyk(12.4%, 70.8%, 0%, 46.3%)
CIE-LABlab(32.52, 48.61, -37.81)
CIE-LCHlch(32.52, 61.58, 322.12°)
OKLaboklab(43.95% 0.1264 -0.1058)
OKLCHoklch(43.95% 0.165 320.1)
XYZxyz(13.0193, 7.3174, 24.3887)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782889 #398928
analogous
#482889 #782889 #892869
triadic
#782889 #897828 #288978
tetradic
#782889 #894828 #398928 #286989
square
#782889 #894828 #398928 #286989
split-complementary
#782889 #698928 #288948
monochromatic
#250C2A #4F1A5A #782889 #A136B8 #BB5CCF

Accessibility & contrast

On white

8.52
#782889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#782889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782889
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782889#FFFFFF#000000##FFFFFF
##7828891.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#314F87
Tritanopia (blue-blind)
#783A55
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782889;
/* rgb */ color: rgb(120, 40, 137);
/* oklch */ color: oklch(43.9% 0.165 320.1);
Tailwind
colors: {
  custom: {
    50: '#a269ac',
    500: '#782889',
    950: '#000000',
  },
}
SCSS
$custom: #782889;
$custom-light: #a269ac;
$custom-dark: #000000;
JSON
{
  "hex": "#782889",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 289.485,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43946,
    "c": 0.16485,
    "h": 320.1
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#782889
secondary
#68B558
accent
#DE4A64
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782889

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

Preview Lab → · Contrast checker → · Palette generator →

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