#782087#782087

#782087 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.173 H 321.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#782087
RGBrgb(120, 32, 135)
HSLhsl(291, 62%, 33%)
HSVhsv(291, 76%, 53%)
CMYKcmyk(11.1%, 76.3%, 0%, 47.1%)
CIE-LABlab(31.29, 51.34, -38.53)
CIE-LCHlch(31.29, 64.19, 323.11°)
OKLaboklab(43.03% 0.1349 -0.1079)
OKLCHoklch(43.03% 0.173 321.4)
XYZxyz(12.6349, 6.7761, 23.5594)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782087 #2F8720
analogous
#442087 #782087 #872063
triadic
#782087 #877820 #208778
tetradic
#782087 #874420 #2F8720 #206387
square
#782087 #874420 #2F8720 #206387
split-complementary
#782087 #638720 #208744
monochromatic
#200924 #4C1456 #782087 #A42CB8 #C14DD5

Accessibility & contrast

On white

8.92
#782087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782087
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782087#FFFFFF#000000##FFFFFF
##7820871.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#2D4D85
Tritanopia (blue-blind)
#793452
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782087;
/* rgb */ color: rgb(120, 32, 135);
/* oklch */ color: oklch(43.0% 0.173 321.4);
Tailwind
colors: {
  custom: {
    50: '#a266aa',
    500: '#782087',
    950: '#000000',
  },
}
SCSS
$custom: #782087;
$custom-light: #a266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#782087",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 291.262,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43029,
    "c": 0.1727,
    "h": 321.4
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#782087
secondary
#5BB84B
accent
#E5435B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #782087

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

Preview Lab → · Contrast checker → · Palette generator →

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