#782088#782088

#782088 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.174 H 320.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#782088
RGBrgb(120, 32, 136)
HSLhsl(291, 62%, 33%)
HSVhsv(291, 76%, 53%)
CMYKcmyk(11.8%, 76.5%, 0%, 46.7%)
CIE-LABlab(31.36, 51.53, -39.05)
CIE-LCHlch(31.36, 64.65, 322.85°)
OKLaboklab(43.1% 0.1348 -0.1094)
OKLCHoklch(43.1% 0.174 320.9)
XYZxyz(12.7057, 6.8044, 23.9319)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782088 #308820
analogous
#442088 #782088 #882064
triadic
#782088 #887820 #208878
tetradic
#782088 #884420 #308820 #206488
square
#782088 #884420 #308820 #206488
split-complementary
#782088 #648820 #208844
monochromatic
#210925 #4C1456 #782088 #A42CBA #C04DD5

Accessibility & contrast

On white

8.90
#782088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#782088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782088
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782088#FFFFFF#000000##FFFFFF
##7820881.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#2C4D86
Tritanopia (blue-blind)
#793553
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782088;
/* rgb */ color: rgb(120, 32, 136);
/* oklch */ color: oklch(43.1% 0.174 320.9);
Tailwind
colors: {
  custom: {
    50: '#a266ab',
    500: '#782088',
    950: '#000000',
  },
}
SCSS
$custom: #782088;
$custom-light: #a266ab;
$custom-dark: #000000;
JSON
{
  "hex": "#782088",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 290.769,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43096,
    "c": 0.17359,
    "h": 320.9
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#782088
secondary
#5CB84C
accent
#E5435C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #782088

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

Preview Lab → · Contrast checker → · Palette generator →

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