#782589#782589

#782589 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.169 H 320.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#782589
RGBrgb(120, 37, 137)
HSLhsl(290, 57%, 34%)
HSVhsv(290, 73%, 54%)
CMYKcmyk(12.4%, 73%, 0%, 46.3%)
CIE-LABlab(32.09, 49.84, -38.50)
CIE-LCHlch(32.09, 62.98, 322.31°)
OKLaboklab(43.64% 0.1297 -0.1078)
OKLCHoklch(43.64% 0.169 320.3)
XYZxyz(12.9221, 7.1230, 24.3563)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782589 #368925
analogous
#462589 #782589 #892568
triadic
#782589 #897825 #258978
tetradic
#782589 #894625 #368925 #256889
square
#782589 #894625 #368925 #256889
split-complementary
#782589 #688925 #258946
monochromatic
#240B29 #4E1859 #782589 #A232B9 #BD57D2

Accessibility & contrast

On white

8.66
#782589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#782589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782589
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782589#FFFFFF#000000##FFFFFF
##7825891.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#2F4E87
Tritanopia (blue-blind)
#793854
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782589;
/* rgb */ color: rgb(120, 37, 137);
/* oklch */ color: oklch(43.6% 0.169 320.3);
Tailwind
colors: {
  custom: {
    50: '#a268ac',
    500: '#782589',
    950: '#000000',
  },
}
SCSS
$custom: #782589;
$custom-light: #a268ac;
$custom-dark: #000000;
JSON
{
  "hex": "#782589",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 289.8,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43636,
    "c": 0.16864,
    "h": 320.3
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#782589
secondary
#64B654
accent
#E14761
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782589

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

Preview Lab → · Contrast checker → · Palette generator →

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