#781A80#781A80

#781A80 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.173 H 324.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#781A80
RGBrgb(120, 26, 128)
HSLhsl(295, 66%, 30%)
HSVhsv(295, 80%, 50%)
CMYKcmyk(6.3%, 79.7%, 0%, 49.8%)
CIE-LABlab(30.14, 52.05, -36.01)
CIE-LCHlch(30.14, 63.29, 325.32°)
OKLaboklab(42.06% 0.1409 -0.1004)
OKLCHoklch(42.06% 0.173 324.5)
XYZxyz(12.0111, 6.2912, 20.9996)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A80 #22801A
analogous
#451A80 #781A80 #801A55
triadic
#781A80 #80781A #1A8078
tetradic
#781A80 #80451A #22801A #1A5580
square
#781A80 #80451A #22801A #1A5580
split-complementary
#781A80 #55801A #1A8045
monochromatic
#19051A #48104D #781A80 #A824B3 #CB3DD8

Accessibility & contrast

On white

9.30
#781A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#781A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A80
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A80#FFFFFF#000000##FFFFFF
##781A801.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#2F4B7E
Tritanopia (blue-blind)
#7B2D4D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #781a80;
/* rgb */ color: rgb(120, 26, 128);
/* oklch */ color: oklch(42.1% 0.173 324.5);
Tailwind
colors: {
  custom: {
    50: '#a263a5',
    500: '#781a80',
    950: '#000000',
  },
}
SCSS
$custom: #781a80;
$custom-light: #a263a5;
$custom-dark: #000000;
JSON
{
  "hex": "#781a80",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 295.294,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42062,
    "c": 0.17305,
    "h": 324.5
  },
  "luminance": 0.0629
}

Semantic roles & 50–950 ramp

primary
#781A80
secondary
#4BB442
accent
#E93F4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #781A80

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

Preview Lab → · Contrast checker → · Palette generator →

#781A80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva