#782E89#782E89

#782E89 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.157 H 319.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#782E89
RGBrgb(120, 46, 137)
HSLhsl(289, 50%, 36%)
HSVhsv(289, 66%, 54%)
CMYKcmyk(12.4%, 66.4%, 0%, 46.3%)
CIE-LABlab(33.46, 45.96, -36.30)
CIE-LCHlch(33.46, 58.57, 321.70°)
OKLaboklab(44.63% 0.1194 -0.1014)
OKLCHoklch(44.63% 0.157 319.6)
XYZxyz(13.2375, 7.7538, 24.4614)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782E89 #3F892E
analogous
#4A2E89 #782E89 #892E6C
triadic
#782E89 #89782E #2E8978
tetradic
#782E89 #894A2E #3F892E #2E6C89
square
#782E89 #894A2E #3F892E #2E6C89
split-complementary
#782E89 #6C892E #2E894A
monochromatic
#280F2D #501F5B #782E89 #A03DB7 #B966CC

Accessibility & contrast

On white

8.23
#782E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#782E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782E89
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782E89#FFFFFF#000000##FFFFFF
##782E891.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124A8C
Deuteranopia (green-blind)
#355187
Tritanopia (blue-blind)
#783E57
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #782e89;
/* rgb */ color: rgb(120, 46, 137);
/* oklch */ color: oklch(44.6% 0.157 319.6);
Tailwind
colors: {
  custom: {
    50: '#a26cac',
    500: '#782e89',
    950: '#000000',
  },
}
SCSS
$custom: #782e89;
$custom-light: #a26cac;
$custom-dark: #000000;
JSON
{
  "hex": "#782e89",
  "rgb": {
    "r": 120,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 288.791,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44626,
    "c": 0.15665,
    "h": 319.6
  },
  "luminance": 0.07753
}

Semantic roles & 50–950 ramp

primary
#782E89
secondary
#70B260
accent
#D94F68
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782E89

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

Preview Lab → · Contrast checker → · Palette generator →

#782E89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva