#781992#781992

#781992 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.189 H 317.5°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#781992
RGBrgb(120, 25, 146)
HSLhsl(287, 71%, 34%)
HSVhsv(287, 83%, 57%)
CMYKcmyk(17.8%, 82.9%, 0%, 42.7%)
CIE-LABlab(31.26, 55.73, -45.38)
CIE-LCHlch(31.26, 71.87, 320.85°)
OKLaboklab(43.25% 0.1394 -0.1279)
OKLCHoklch(43.25% 0.189 317.5)
XYZxyz(13.2809, 6.7643, 27.7946)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781992 #339219
analogous
#3B1992 #781992 #92196F
triadic
#781992 #927819 #199278
tetradic
#781992 #923B19 #339219 #196F92
square
#781992 #923B19 #339219 #196F92
split-complementary
#781992 #6F9219 #19923B
monochromatic
#220729 #4D105E #781992 #A322C6 #BE46DF

Accessibility & contrast

On white

8.93
#781992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#781992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781992
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781992#FFFFFF#000000##FFFFFF
##7819921.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#1C4C8F
Tritanopia (blue-blind)
#773657
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #781992;
/* rgb */ color: rgb(120, 25, 146);
/* oklch */ color: oklch(43.3% 0.189 317.5);
Tailwind
colors: {
  custom: {
    50: '#a363b3',
    500: '#781992',
    950: '#000000',
  },
}
SCSS
$custom: #781992;
$custom-light: #a363b3;
$custom-dark: #000000;
JSON
{
  "hex": "#781992",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 287.107,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43251,
    "c": 0.18915,
    "h": 317.5
  },
  "luminance": 0.06764
}

Semantic roles & 50–950 ramp

primary
#781992
secondary
#60C146
accent
#EE3A61
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781992

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

Preview Lab → · Contrast checker → · Palette generator →

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