#782B89#782B89

#782B89 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.161 H 319.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#782B89
RGBrgb(120, 43, 137)
HSLhsl(289, 52%, 35%)
HSVhsv(289, 69%, 54%)
CMYKcmyk(12.4%, 68.6%, 0%, 46.3%)
CIE-LABlab(32.98, 47.32, -37.07)
CIE-LCHlch(32.98, 60.11, 321.92°)
OKLaboklab(44.28% 0.123 -0.1037)
OKLCHoklch(44.28% 0.161 319.9)
XYZxyz(13.1244, 7.5276, 24.4237)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782B89 #3C892B
analogous
#492B89 #782B89 #892B6B
triadic
#782B89 #89782B #2B8978
tetradic
#782B89 #89492B #3C892B #2B6B89
square
#782B89 #89492B #3C892B #2B6B89
split-complementary
#782B89 #6B892B #2B8949
monochromatic
#260E2C #4F1C5A #782B89 #A13AB8 #BA61CD

Accessibility & contrast

On white

8.38
#782B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#782B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782B89
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782B89#FFFFFF#000000##FFFFFF
##782B891.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09488C
Deuteranopia (green-blind)
#335087
Tritanopia (blue-blind)
#783C56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782b89;
/* rgb */ color: rgb(120, 43, 137);
/* oklch */ color: oklch(44.3% 0.161 319.9);
Tailwind
colors: {
  custom: {
    50: '#a26bac',
    500: '#782b89',
    950: '#000000',
  },
}
SCSS
$custom: #782b89;
$custom-light: #a26bac;
$custom-dark: #000000;
JSON
{
  "hex": "#782b89",
  "rgb": {
    "r": 120,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 289.149,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44276,
    "c": 0.16085,
    "h": 319.9
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#782B89
secondary
#6CB35C
accent
#DC4C66
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782B89

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

Preview Lab → · Contrast checker → · Palette generator →

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