#782387#782387

#782387 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.169 H 321.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#782387
RGBrgb(120, 35, 135)
HSLhsl(291, 59%, 33%)
HSVhsv(291, 74%, 53%)
CMYKcmyk(11.1%, 74.1%, 0%, 47.1%)
CIE-LABlab(31.68, 50.22, -37.91)
CIE-LCHlch(31.68, 62.92, 322.96°)
OKLaboklab(43.31% 0.1319 -0.106)
OKLCHoklch(43.31% 0.169 321.2)
XYZxyz(12.7194, 6.9451, 23.5875)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782387 #328723
analogous
#462387 #782387 #872364
triadic
#782387 #877823 #238778
tetradic
#782387 #874623 #328723 #236487
square
#782387 #874623 #328723 #236487
split-complementary
#782387 #648723 #238746
monochromatic
#220A26 #4D1656 #782387 #A330B8 #BF52D2

Accessibility & contrast

On white

8.79
#782387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#782387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782387
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782387#FFFFFF#000000##FFFFFF
##7823871.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#793653
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782387;
/* rgb */ color: rgb(120, 35, 135);
/* oklch */ color: oklch(43.3% 0.169 321.2);
Tailwind
colors: {
  custom: {
    50: '#a267aa',
    500: '#782387',
    950: '#000000',
  },
}
SCSS
$custom: #782387;
$custom-light: #a267aa;
$custom-dark: #000000;
JSON
{
  "hex": "#782387",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 291,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43306,
    "c": 0.16925,
    "h": 321.2
  },
  "luminance": 0.06944
}

Semantic roles & 50–950 ramp

primary
#782387
secondary
#5FB650
accent
#E2465D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #782387

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

Preview Lab → · Contrast checker → · Palette generator →

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