#781B90#781B90

#781B90 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.186 H 318.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#781B90
RGBrgb(120, 27, 144)
HSLhsl(288, 68%, 34%)
HSVhsv(288, 81%, 56%)
CMYKcmyk(16.7%, 81.3%, 0%, 43.5%)
CIE-LABlab(31.33, 54.75, -44.05)
CIE-LCHlch(31.33, 70.27, 321.18°)
OKLaboklab(43.25% 0.1382 -0.124)
OKLCHoklch(43.25% 0.186 318.1)
XYZxyz(13.1710, 6.7912, 26.9972)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B90 #33901B
analogous
#3D1B90 #781B90 #901B6D
triadic
#781B90 #90781B #1B9078
tetradic
#781B90 #903D1B #33901B #1B6D90
square
#781B90 #903D1B #33901B #1B6D90
split-complementary
#781B90 #6D901B #1B903D
monochromatic
#220829 #4D115C #781B90 #A325C4 #BE49DD

Accessibility & contrast

On white

8.91
#781B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#781B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B90
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B90#FFFFFF#000000##FFFFFF
##781B901.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#214C8E
Tritanopia (blue-blind)
#773656
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #781b90;
/* rgb */ color: rgb(120, 27, 144);
/* oklch */ color: oklch(43.2% 0.186 318.1);
Tailwind
colors: {
  custom: {
    50: '#a364b1',
    500: '#781b90',
    950: '#000000',
  },
}
SCSS
$custom: #781b90;
$custom-light: #a364b1;
$custom-dark: #000000;
JSON
{
  "hex": "#781b90",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 287.692,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43249,
    "c": 0.18564,
    "h": 318.1
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#781B90
secondary
#60BF48
accent
#EB3D60
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781B90

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

Preview Lab → · Contrast checker → · Palette generator →

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