#782595#782595

#782595 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.180 H 315.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#782595
RGBrgb(120, 37, 149)
HSLhsl(284, 60%, 36%)
HSVhsv(284, 75%, 58%)
CMYKcmyk(19.5%, 75.2%, 0%, 41.6%)
CIE-LABlab(32.89, 52.26, -44.60)
CIE-LCHlch(32.89, 68.70, 319.52°)
OKLaboklab(44.47% 0.1285 -0.1257)
OKLCHoklch(44.47% 0.18 315.6)
XYZxyz(13.8312, 7.4867, 29.1444)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782595 #429525
analogous
#402595 #782595 #95257A
triadic
#782595 #957825 #259578
tetradic
#782595 #954025 #429525 #257A95
square
#782595 #954025 #429525 #257A95
split-complementary
#782595 #7A9525 #259540
monochromatic
#290D33 #511964 #782595 #9F31C6 #B75ED7

Accessibility & contrast

On white

8.41
#782595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#782595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782595
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782595#FFFFFF#000000##FFFFFF
##7825951.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#225093
Tritanopia (blue-blind)
#763D5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782595;
/* rgb */ color: rgb(120, 37, 149);
/* oklch */ color: oklch(44.5% 0.180 315.6);
Tailwind
colors: {
  custom: {
    50: '#a368b5',
    500: '#782595',
    950: '#000000',
  },
}
SCSS
$custom: #782595;
$custom-light: #a368b5;
$custom-dark: #000000;
JSON
{
  "hex": "#782595",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 284.464,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44465,
    "c": 0.17974,
    "h": 315.6
  },
  "luminance": 0.07486
}

Semantic roles & 50–950 ramp

primary
#782595
secondary
#73BC5A
accent
#E3446E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782595

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

Preview Lab → · Contrast checker → · Palette generator →

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