#781885#781885

#781885 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.179 H 322.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#781885
RGBrgb(120, 24, 133)
HSLhsl(293, 69%, 31%)
HSVhsv(293, 82%, 52%)
CMYKcmyk(9.8%, 82%, 0%, 47.8%)
CIE-LABlab(30.26, 53.57, -38.95)
CIE-LCHlch(30.26, 66.23, 323.98°)
OKLaboklab(42.25% 0.1421 -0.109)
OKLCHoklch(42.25% 0.179 322.5)
XYZxyz(12.3056, 6.3405, 22.7614)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781885 #258518
analogous
#411885 #781885 #85185B
triadic
#781885 #857818 #188578
tetradic
#781885 #854118 #258518 #185B85
square
#781885 #854118 #258518 #185B85
split-complementary
#781885 #5B8518 #188541
monochromatic
#1A051D #490F51 #781885 #A721B9 #C93CDC

Accessibility & contrast

On white

9.26
#781885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#781885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781885
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781885#FFFFFF#000000##FFFFFF
##7818851.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#2A4B83
Tritanopia (blue-blind)
#7A2F4F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #781885;
/* rgb */ color: rgb(120, 24, 133);
/* oklch */ color: oklch(42.3% 0.179 322.5);
Tailwind
colors: {
  custom: {
    50: '#a362a9',
    500: '#781885',
    950: '#000000',
  },
}
SCSS
$custom: #781885;
$custom-light: #a362a9;
$custom-dark: #000000;
JSON
{
  "hex": "#781885",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 292.844,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42252,
    "c": 0.17909,
    "h": 322.5
  },
  "luminance": 0.0634
}

Semantic roles & 50–950 ramp

primary
#781885
secondary
#4EB940
accent
#EC3C51
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #781885

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

Preview Lab → · Contrast checker → · Palette generator →

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