#783E81#783E81

#783E81 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.4% C 0.123 H 322.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#783E81
RGBrgb(120, 62, 129)
HSLhsl(292, 35%, 37%)
HSVhsv(292, 52%, 51%)
CMYKcmyk(7%, 51.9%, 0%, 49.4%)
CIE-LABlab(36.03, 36.16, -27.29)
CIE-LCHlch(36.03, 45.30, 322.95°)
OKLaboklab(46.36% 0.0968 -0.0754)
OKLCHoklch(46.36% 0.123 322.1)
XYZxyz(13.4304, 9.0239, 21.7990)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E81 #47813E
analogous
#563E81 #783E81 #813E69
triadic
#783E81 #81783E #3E8178
tetradic
#783E81 #81563E #47813E #3E6981
square
#783E81 #81563E #47813E #3E6981
split-complementary
#783E81 #69813E #3E8156
monochromatic
#2B162E #522A58 #783E81 #9E52AA #B67ABF

Accessibility & contrast

On white

7.49
#783E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#783E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783E81
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E81#FFFFFF#000000##FFFFFF
##783E811.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345083
Deuteranopia (green-blind)
#46577F
Tritanopia (blue-blind)
#794759
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #783e81;
/* rgb */ color: rgb(120, 62, 129);
/* oklch */ color: oklch(46.4% 0.123 322.1);
Tailwind
colors: {
  custom: {
    50: '#a176a6',
    500: '#783e81',
    950: '#000000',
  },
}
SCSS
$custom: #783e81;
$custom-light: #a176a6;
$custom-dark: #000000;
JSON
{
  "hex": "#783e81",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 129
  },
  "hsl": {
    "h": 291.94,
    "s": 35.079,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46356,
    "c": 0.12274,
    "h": 322.1
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#783E81
secondary
#79A972
accent
#CB5D6C
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #783E81

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

Preview Lab → · Contrast checker → · Palette generator →

#783E81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva