#781989#781989

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

Color values

HEX#781989
RGBrgb(120, 25, 137)
HSLhsl(291, 69%, 32%)
HSVhsv(291, 82%, 54%)
CMYKcmyk(12.4%, 81.8%, 0%, 46.3%)
CIE-LABlab(30.63, 54.01, -40.84)
CIE-LCHlch(30.63, 67.72, 322.91°)
OKLaboklab(42.6% 0.1408 -0.1146)
OKLCHoklch(42.6% 0.182 320.9)
XYZxyz(12.6082, 6.4952, 24.2516)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781989 #2A8919
analogous
#401989 #781989 #891962
triadic
#781989 #897819 #198978
tetradic
#781989 #894019 #2A8919 #196289
square
#781989 #894019 #2A8919 #196289
split-complementary
#781989 #628919 #198940
monochromatic
#1D0621 #4B1055 #781989 #A522BD #C540DC

Accessibility & contrast

On white

9.14
#781989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#781989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781989
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781989#FFFFFF#000000##FFFFFF
##7819891.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#274B87
Tritanopia (blue-blind)
#793152
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #781989;
/* rgb */ color: rgb(120, 25, 137);
/* oklch */ color: oklch(42.6% 0.182 320.9);
Tailwind
colors: {
  custom: {
    50: '#a363ac',
    500: '#781989',
    950: '#000000',
  },
}
SCSS
$custom: #781989;
$custom-light: #a363ac;
$custom-dark: #000000;
JSON
{
  "hex": "#781989",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 290.893,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42602,
    "c": 0.18152,
    "h": 320.9
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

primary
#781989
secondary
#54BC41
accent
#EC3C57
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #781989

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

Preview Lab → · Contrast checker → · Palette generator →

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