#781F93#781F93

#781F93 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.184 H 316.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#781F93
RGBrgb(120, 31, 147)
HSLhsl(286, 65%, 35%)
HSVhsv(286, 79%, 58%)
CMYKcmyk(18.4%, 78.9%, 0%, 42.4%)
CIE-LABlab(31.99, 54.04, -44.83)
CIE-LCHlch(31.99, 70.21, 320.32°)
OKLaboklab(43.78% 0.1344 -0.1263)
OKLCHoklch(43.78% 0.184 316.8)
XYZxyz(13.5014, 7.0802, 28.2535)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F93 #3A931F
analogous
#3E1F93 #781F93 #931F74
triadic
#781F93 #93781F #1F9378
tetradic
#781F93 #933E1F #3A931F #1F7493
square
#781F93 #933E1F #3A931F #1F7493
split-complementary
#781F93 #74931F #1F933E
monochromatic
#250A2E #4F1460 #781F93 #A12AC6 #BB52DA

Accessibility & contrast

On white

8.69
#781F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#781F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F93
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F93#FFFFFF#000000##FFFFFF
##781F931.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#204E91
Tritanopia (blue-blind)
#763959
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #781f93;
/* rgb */ color: rgb(120, 31, 147);
/* oklch */ color: oklch(43.8% 0.184 316.8);
Tailwind
colors: {
  custom: {
    50: '#a366b3',
    500: '#781f93',
    950: '#000000',
  },
}
SCSS
$custom: #781f93;
$custom-light: #a366b3;
$custom-dark: #000000;
JSON
{
  "hex": "#781f93",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 286.034,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43783,
    "c": 0.1844,
    "h": 316.8
  },
  "luminance": 0.0708
}

Semantic roles & 50–950 ramp

primary
#781F93
secondary
#6ABE50
accent
#E84067
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781F93

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

Preview Lab → · Contrast checker → · Palette generator →

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