#783E82#783E82

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

Color values

HEX#783E82
RGBrgb(120, 62, 130)
HSLhsl(291, 35%, 38%)
HSVhsv(291, 52%, 51%)
CMYKcmyk(7.7%, 52.3%, 0%, 49%)
CIE-LABlab(36.08, 36.37, -27.83)
CIE-LCHlch(36.08, 45.80, 322.58°)
OKLaboklab(46.41% 0.097 -0.077)
OKLCHoklch(46.41% 0.124 321.6)
XYZxyz(13.4972, 9.0506, 22.1507)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E82 #48823E
analogous
#563E82 #783E82 #823E6A
triadic
#783E82 #82783E #3E8278
tetradic
#783E82 #82563E #48823E #3E6A82
square
#783E82 #82563E #48823E #3E6A82
split-complementary
#783E82 #6A823E #3E8256
monochromatic
#2B162F #522A59 #783E82 #9E52AB #B67BC0

Accessibility & contrast

On white

7.47
#783E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#783E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783E82
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E82#FFFFFF#000000##FFFFFF
##783E821.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335184
Deuteranopia (green-blind)
#455780
Tritanopia (blue-blind)
#79475A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #783e82;
/* rgb */ color: rgb(120, 62, 130);
/* oklch */ color: oklch(46.4% 0.124 321.6);
Tailwind
colors: {
  custom: {
    50: '#a176a6',
    500: '#783e82',
    950: '#000000',
  },
}
SCSS
$custom: #783e82;
$custom-light: #a176a6;
$custom-dark: #000000;
JSON
{
  "hex": "#783e82",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 130
  },
  "hsl": {
    "h": 291.176,
    "s": 35.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4641,
    "c": 0.12381,
    "h": 321.6
  },
  "luminance": 0.0905
}

Semantic roles & 50–950 ramp

primary
#783E82
secondary
#7AAA72
accent
#CB5C6D
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #783E82

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

Preview Lab → · Contrast checker → · Palette generator →

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