#782587#782587

#782587 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.167 H 321.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#782587
RGBrgb(120, 37, 135)
HSLhsl(291, 57%, 34%)
HSVhsv(291, 73%, 53%)
CMYKcmyk(11.1%, 72.6%, 0%, 47.1%)
CIE-LABlab(31.96, 49.44, -37.47)
CIE-LCHlch(31.96, 62.03, 322.85°)
OKLaboklab(43.5% 0.1298 -0.1048)
OKLCHoklch(43.5% 0.167 321.1)
XYZxyz(12.7800, 7.0662, 23.6077)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782587 #348725
analogous
#472587 #782587 #872565
triadic
#782587 #877825 #258778
tetradic
#782587 #874725 #348725 #256587
square
#782587 #874725 #348725 #256587
split-complementary
#782587 #658725 #258747
monochromatic
#230B27 #4D1857 #782587 #A332B7 #BE56D1

Accessibility & contrast

On white

8.70
#782587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#782587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782587
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782587#FFFFFF#000000##FFFFFF
##7825871.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#304E85
Tritanopia (blue-blind)
#793753
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782587;
/* rgb */ color: rgb(120, 37, 135);
/* oklch */ color: oklch(43.5% 0.167 321.1);
Tailwind
colors: {
  custom: {
    50: '#a268aa',
    500: '#782587',
    950: '#000000',
  },
}
SCSS
$custom: #782587;
$custom-light: #a268aa;
$custom-dark: #000000;
JSON
{
  "hex": "#782587",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 290.816,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43503,
    "c": 0.16681,
    "h": 321.1
  },
  "luminance": 0.07065
}

Semantic roles & 50–950 ramp

primary
#782587
secondary
#62B553
accent
#E0485F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782587

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

Preview Lab → · Contrast checker → · Palette generator →

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