#783E8A#783E8A

#783E8A is a mid, vivid purple. Relative luminance 0.093; OKLCH L 46.9% C 0.133 H 317.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#783E8A
RGBrgb(120, 62, 138)
HSLhsl(286, 38%, 39%)
HSVhsv(286, 55%, 54%)
CMYKcmyk(13%, 55.1%, 0%, 45.9%)
CIE-LABlab(36.51, 38.09, -32.09)
CIE-LCHlch(36.51, 49.80, 319.89°)
OKLaboklab(46.86% 0.0979 -0.0893)
OKLCHoklch(46.86% 0.133 317.6)
XYZxyz(14.0552, 9.2738, 25.0895)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E8A #508A3E
analogous
#523E8A #783E8A #8A3E76
triadic
#783E8A #8A783E #3E8A78
tetradic
#783E8A #8A523E #508A3E #3E768A
square
#783E8A #8A523E #508A3E #3E768A
split-complementary
#783E8A #768A3E #3E8A52
monochromatic
#2F1836 #532B60 #783E8A #9B53B2 #B47EC5

Accessibility & contrast

On white

7.36
#783E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#783E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783E8A
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E8A#FFFFFF#000000##FFFFFF
##783E8A1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528D
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#784A5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #783e8a;
/* rgb */ color: rgb(120, 62, 138);
/* oklch */ color: oklch(46.9% 0.133 317.6);
Tailwind
colors: {
  custom: {
    50: '#a176ac',
    500: '#783e8a',
    950: '#000000',
  },
}
SCSS
$custom: #783e8a;
$custom-light: #a176ac;
$custom-dark: #000000;
JSON
{
  "hex": "#783e8a",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 285.789,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46862,
    "c": 0.13253,
    "h": 317.6
  },
  "luminance": 0.09273
}

Semantic roles & 50–950 ramp

primary
#783E8A
secondary
#83AF75
accent
#CE5A75
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #783E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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