#781785#781785

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

Color values

HEX#781785
RGBrgb(120, 23, 133)
HSLhsl(293, 71%, 31%)
HSVhsv(293, 83%, 52%)
CMYKcmyk(9.8%, 82.7%, 0%, 47.8%)
CIE-LABlab(30.16, 53.85, -39.10)
CIE-LCHlch(30.16, 66.55, 324.01°)
OKLaboklab(42.18% 0.1429 -0.1095)
OKLCHoklch(42.18% 0.18 322.5)
XYZxyz(12.2853, 6.3001, 22.7547)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781785 #248517
analogous
#411785 #781785 #85175B
triadic
#781785 #857817 #178578
tetradic
#781785 #854117 #248517 #175B85
square
#781785 #854117 #248517 #175B85
split-complementary
#781785 #5B8517 #178541
monochromatic
#1A051D #490E51 #781785 #A720B9 #CA3ADD

Accessibility & contrast

On white

9.29
#781785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#781785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781785
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781785#FFFFFF#000000##FFFFFF
##7817851.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781785;
/* rgb */ color: rgb(120, 23, 133);
/* oklch */ color: oklch(42.2% 0.180 322.5);
Tailwind
colors: {
  custom: {
    50: '#a362a9',
    500: '#781785',
    950: '#000000',
  },
}
SCSS
$custom: #781785;
$custom-light: #a362a9;
$custom-dark: #000000;
JSON
{
  "hex": "#781785",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 292.909,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42183,
    "c": 0.17998,
    "h": 322.5
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#781785
secondary
#4DB93F
accent
#ED3B50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #781785

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

Preview Lab → · Contrast checker → · Palette generator →

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