#783B7A#783B7A

#783B7A is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.5% C 0.121 H 326.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#783B7A
RGBrgb(120, 59, 122)
HSLhsl(298, 35%, 35%)
HSVhsv(298, 52%, 48%)
CMYKcmyk(1.6%, 51.6%, 0%, 52.2%)
CIE-LABlab(35.06, 36.36, -24.47)
CIE-LCHlch(35.06, 43.83, 326.06°)
OKLaboklab(45.52% 0.1003 -0.0673)
OKLCHoklch(45.52% 0.121 326.1)
XYZxyz(12.8223, 8.5268, 19.3790)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783B7A #3D7A3B
analogous
#583B7A #783B7A #7A3B5C
triadic
#783B7A #7A783B #3B7A78
tetradic
#783B7A #7A583B #3D7A3B #3B5C7A
square
#783B7A #7A583B #3D7A3B #3B5C7A
split-complementary
#783B7A #5C7A3B #3B7A58
monochromatic
#271327 #4F2751 #783B7A #A14FA3 #B974BC

Accessibility & contrast

On white

7.76
#783B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#783B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783B7A
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783B7A#FFFFFF#000000##FFFFFF
##783B7A1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7C
Deuteranopia (green-blind)
#475578
Tritanopia (blue-blind)
#7B4255
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #783b7a;
/* rgb */ color: rgb(120, 59, 122);
/* oklch */ color: oklch(45.5% 0.121 326.1);
Tailwind
colors: {
  custom: {
    50: '#a174a0',
    500: '#783b7a',
    950: '#000000',
  },
}
SCSS
$custom: #783b7a;
$custom-light: #a174a0;
$custom-dark: #000000;
JSON
{
  "hex": "#783b7a",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 122
  },
  "hsl": {
    "h": 298.095,
    "s": 34.807,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45521,
    "c": 0.12074,
    "h": 326.1
  },
  "luminance": 0.08526
}

Semantic roles & 50–950 ramp

primary
#783B7A
secondary
#6DA56C
accent
#CB5D60
background
#FAF7F9
surface
#F3EDF2
border
#CDC8CC
text
#0F080F
muted
#7F7B7E

Preview Lab

Preview with #783B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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