#782997#782997

#782997 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.177 H 314.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#782997
RGBrgb(120, 41, 151)
HSLhsl(283, 57%, 38%)
HSVhsv(283, 73%, 59%)
CMYKcmyk(20.5%, 72.8%, 0%, 40.8%)
CIE-LABlab(33.59, 51.07, -44.69)
CIE-LCHlch(33.59, 67.87, 318.81°)
OKLaboklab(45.01% 0.1242 -0.126)
OKLCHoklch(45.01% 0.177 314.6)
XYZxyz(14.1237, 7.8138, 30.0364)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782997 #489729
analogous
#412997 #782997 #97297F
triadic
#782997 #977829 #299778
tetradic
#782997 #974129 #489729 #297F97
square
#782997 #974129 #489729 #297F97
split-complementary
#782997 #7F9729 #299741
monochromatic
#2B0F37 #521C67 #782997 #9E36C7 #B665D5

Accessibility & contrast

On white

8.19
#782997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#782997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782997
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782997#FFFFFF#000000##FFFFFF
##7829971.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#245195
Tritanopia (blue-blind)
#75405D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #782997;
/* rgb */ color: rgb(120, 41, 151);
/* oklch */ color: oklch(45.0% 0.177 314.6);
Tailwind
colors: {
  custom: {
    50: '#a36ab6',
    500: '#782997',
    950: '#000000',
  },
}
SCSS
$custom: #782997;
$custom-light: #a36ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#782997",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 283.091,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45008,
    "c": 0.1769,
    "h": 314.6
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

primary
#782997
secondary
#7ABB61
accent
#E14772
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782997

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

Preview Lab → · Contrast checker → · Palette generator →

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