#782189#782189

#782189 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.173 H 320.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#782189
RGBrgb(120, 33, 137)
HSLhsl(290, 61%, 33%)
HSVhsv(290, 76%, 54%)
CMYKcmyk(12.4%, 75.9%, 0%, 46.3%)
CIE-LABlab(31.55, 51.36, -39.36)
CIE-LCHlch(31.55, 64.71, 322.54°)
OKLaboklab(43.25% 0.1337 -0.1103)
OKLCHoklch(43.25% 0.173 320.5)
XYZxyz(12.8044, 6.8876, 24.3170)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782189 #328921
analogous
#442189 #782189 #892166
triadic
#782189 #897821 #218978
tetradic
#782189 #894421 #328921 #216689
square
#782189 #894421 #328921 #216689
split-complementary
#782189 #668921 #218944
monochromatic
#220926 #4D1558 #782189 #A32DBA #BF50D5

Accessibility & contrast

On white

8.83
#782189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#782189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782189
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782189#FFFFFF#000000##FFFFFF
##7821891.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#2C4D87
Tritanopia (blue-blind)
#793653
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782189;
/* rgb */ color: rgb(120, 33, 137);
/* oklch */ color: oklch(43.3% 0.173 320.5);
Tailwind
colors: {
  custom: {
    50: '#a266ac',
    500: '#782189',
    950: '#000000',
  },
}
SCSS
$custom: #782189;
$custom-light: #a266ac;
$custom-dark: #000000;
JSON
{
  "hex": "#782189",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 290.192,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43254,
    "c": 0.17335,
    "h": 320.5
  },
  "luminance": 0.06887
}

Semantic roles & 50–950 ramp

primary
#782189
secondary
#5FB84E
accent
#E4445E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #782189

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

Preview Lab → · Contrast checker → · Palette generator →

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