#781983#781983

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

Color values

HEX#781983
RGBrgb(120, 25, 131)
HSLhsl(294, 68%, 31%)
HSVhsv(294, 81%, 51%)
CMYKcmyk(8.4%, 80.9%, 0%, 48.6%)
CIE-LABlab(30.22, 52.90, -37.75)
CIE-LCHlch(30.22, 64.99, 324.49°)
OKLaboklab(42.19% 0.1415 -0.1055)
OKLCHoklch(42.19% 0.177 323.3)
XYZxyz(12.1897, 6.3278, 22.0477)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781983 #248319
analogous
#431983 #781983 #831959
triadic
#781983 #837819 #198378
tetradic
#781983 #834319 #248319 #195983
square
#781983 #834319 #248319 #195983
split-complementary
#781983 #598319 #198343
monochromatic
#1A051C #490F50 #781983 #A723B6 #CA3DDA

Accessibility & contrast

On white

9.27
#781983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781983
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781983#FFFFFF#000000##FFFFFF
##7819831.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#2C4B81
Tritanopia (blue-blind)
#7A2E4E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #781983;
/* rgb */ color: rgb(120, 25, 131);
/* oklch */ color: oklch(42.2% 0.177 323.3);
Tailwind
colors: {
  custom: {
    50: '#a363a7',
    500: '#781983',
    950: '#000000',
  },
}
SCSS
$custom: #781983;
$custom-light: #a363a7;
$custom-dark: #000000;
JSON
{
  "hex": "#781983",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 293.774,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42188,
    "c": 0.17651,
    "h": 323.3
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#781983
secondary
#4DB741
accent
#EB3D4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #781983

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

Preview Lab → · Contrast checker → · Palette generator →

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