#782897#782897

#782897 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.178 H 314.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#782897
RGBrgb(120, 40, 151)
HSLhsl(283, 58%, 37%)
HSVhsv(283, 74%, 59%)
CMYKcmyk(20.5%, 73.5%, 0%, 40.8%)
CIE-LABlab(33.45, 51.49, -44.92)
CIE-LCHlch(33.45, 68.33, 318.89°)
OKLaboklab(44.91% 0.1252 -0.1267)
OKLCHoklch(44.91% 0.178 314.7)
XYZxyz(14.0895, 7.7455, 30.0250)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782897 #479728
analogous
#402897 #782897 #97287F
triadic
#782897 #977828 #289778
tetradic
#782897 #974028 #479728 #287F97
square
#782897 #974028 #479728 #287F97
split-complementary
#782897 #7F9728 #289740
monochromatic
#2B0E36 #521B67 #782897 #9E35C7 #B664D6

Accessibility & contrast

On white

8.24
#782897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#782897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782897
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782897#FFFFFF#000000##FFFFFF
##7828971.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782897;
/* rgb */ color: rgb(120, 40, 151);
/* oklch */ color: oklch(44.9% 0.178 314.7);
Tailwind
colors: {
  custom: {
    50: '#a36ab6',
    500: '#782897',
    950: '#000000',
  },
}
SCSS
$custom: #782897;
$custom-light: #a36ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#782897",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 283.243,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44905,
    "c": 0.17812,
    "h": 314.7
  },
  "luminance": 0.07745
}

Semantic roles & 50–950 ramp

primary
#782897
secondary
#79BC5F
accent
#E14672
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782897

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

Preview Lab → · Contrast checker → · Palette generator →

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