#781889#781889

#781889 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.182 H 320.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#781889
RGBrgb(120, 24, 137)
HSLhsl(291, 70%, 32%)
HSVhsv(291, 82%, 54%)
CMYKcmyk(12.4%, 82.5%, 0%, 46.3%)
CIE-LABlab(30.53, 54.31, -41.00)
CIE-LCHlch(30.53, 68.05, 322.95°)
OKLaboklab(42.53% 0.1416 -0.115)
OKLCHoklch(42.53% 0.182 320.9)
XYZxyz(12.5872, 6.4532, 24.2446)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781889 #298918
analogous
#3F1889 #781889 #891862
triadic
#781889 #897818 #188978
tetradic
#781889 #893F18 #298918 #186289
square
#781889 #893F18 #298918 #186289
split-complementary
#781889 #628918 #18893F
monochromatic
#1D0621 #4A0F55 #781889 #A621BD #C53EDD

Accessibility & contrast

On white

9.17
#781889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#781889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781889
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781889#FFFFFF#000000##FFFFFF
##7818891.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#264B87
Tritanopia (blue-blind)
#793151
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #781889;
/* rgb */ color: rgb(120, 24, 137);
/* oklch */ color: oklch(42.5% 0.182 320.9);
Tailwind
colors: {
  custom: {
    50: '#a363ac',
    500: '#781889',
    950: '#000000',
  },
}
SCSS
$custom: #781889;
$custom-light: #a363ac;
$custom-dark: #000000;
JSON
{
  "hex": "#781889",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 290.973,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42531,
    "c": 0.18241,
    "h": 320.9
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#781889
secondary
#53BD40
accent
#ED3B56
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #781889

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

Preview Lab → · Contrast checker → · Palette generator →

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