#782598#782598

#782598 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.183 H 314.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#782598
RGBrgb(120, 37, 152)
HSLhsl(283, 61%, 37%)
HSVhsv(283, 76%, 60%)
CMYKcmyk(21.1%, 75.7%, 0%, 40.4%)
CIE-LABlab(33.10, 52.88, -46.09)
CIE-LCHlch(33.10, 70.15, 318.92°)
OKLaboklab(44.68% 0.1281 -0.1301)
OKLCHoklch(44.68% 0.183 314.6)
XYZxyz(14.0738, 7.5837, 30.4221)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782598 #459825
analogous
#3E2598 #782598 #98257F
triadic
#782598 #987825 #259878
tetradic
#782598 #983E25 #459825 #257F98
square
#782598 #983E25 #459825 #257F98
split-complementary
#782598 #7F9825 #25983E
monochromatic
#2A0D36 #511967 #782598 #9F31C9 #B65FD8

Accessibility & contrast

On white

8.34
#782598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#782598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782598
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782598#FFFFFF#000000##FFFFFF
##7825981.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#1E5096
Tritanopia (blue-blind)
#753E5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782598;
/* rgb */ color: rgb(120, 37, 152);
/* oklch */ color: oklch(44.7% 0.183 314.6);
Tailwind
colors: {
  custom: {
    50: '#a369b7',
    500: '#782598',
    950: '#000000',
  },
}
SCSS
$custom: #782598;
$custom-light: #a369b7;
$custom-dark: #000000;
JSON
{
  "hex": "#782598",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 283.304,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44681,
    "c": 0.18254,
    "h": 314.6
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#782598
secondary
#77BD5C
accent
#E44470
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #782598

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

Preview Lab → · Contrast checker → · Palette generator →

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