#782891#782891

#782891 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.172 H 316.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#782891
RGBrgb(120, 40, 145)
HSLhsl(286, 57%, 36%)
HSVhsv(286, 72%, 57%)
CMYKcmyk(17.2%, 72.4%, 0%, 43.1%)
CIE-LABlab(33.04, 50.24, -41.91)
CIE-LCHlch(33.04, 65.42, 320.16°)
OKLaboklab(44.49% 0.1259 -0.1178)
OKLCHoklch(44.49% 0.172 316.9)
XYZxyz(13.6146, 7.5555, 27.5238)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782891 #419128
analogous
#442891 #782891 #912876
triadic
#782891 #917828 #289178
tetradic
#782891 #914428 #419128 #287691
square
#782891 #914428 #419128 #287691
split-complementary
#782891 #769128 #289144
monochromatic
#290E31 #501B61 #782891 #A035C1 #B860D3

Accessibility & contrast

On white

8.36
#782891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#782891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782891
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782891#FFFFFF#000000##FFFFFF
##7828911.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#2A508F
Tritanopia (blue-blind)
#773D5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782891;
/* rgb */ color: rgb(120, 40, 145);
/* oklch */ color: oklch(44.5% 0.172 316.9);
Tailwind
colors: {
  custom: {
    50: '#a26ab2',
    500: '#782891',
    950: '#000000',
  },
}
SCSS
$custom: #782891;
$custom-light: #a26ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#782891",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 285.714,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44485,
    "c": 0.1724,
    "h": 316.9
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#782891
secondary
#72B95C
accent
#E0486C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782891

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

Preview Lab → · Contrast checker → · Palette generator →

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