#783E89#783E89

#783E89 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 46.8% C 0.131 H 318.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#783E89
RGBrgb(120, 62, 137)
HSLhsl(286, 38%, 39%)
HSVhsv(286, 55%, 54%)
CMYKcmyk(12.4%, 54.7%, 0%, 46.3%)
CIE-LABlab(36.45, 37.87, -31.56)
CIE-LCHlch(36.45, 49.29, 320.19°)
OKLaboklab(46.8% 0.0978 -0.0877)
OKLCHoklch(46.8% 0.131 318.1)
XYZxyz(13.9831, 9.2450, 24.7099)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E89 #4F893E
analogous
#533E89 #783E89 #893E75
triadic
#783E89 #89783E #3E8978
tetradic
#783E89 #89533E #4F893E #3E7589
square
#783E89 #89533E #4F893E #3E7589
split-complementary
#783E89 #75893E #3E8953
monochromatic
#2E1835 #532B5F #783E89 #9C53B1 #B47DC4

Accessibility & contrast

On white

7.37
#783E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #783E89
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E89#FFFFFF#000000##FFFFFF
##783E891.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528B
Deuteranopia (green-blind)
#415887
Tritanopia (blue-blind)
#78495D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #783e89;
/* rgb */ color: rgb(120, 62, 137);
/* oklch */ color: oklch(46.8% 0.131 318.1);
Tailwind
colors: {
  custom: {
    50: '#a176ac',
    500: '#783e89',
    950: '#000000',
  },
}
SCSS
$custom: #783e89;
$custom-light: #a176ac;
$custom-dark: #000000;
JSON
{
  "hex": "#783e89",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 286.4,
    "s": 37.688,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46804,
    "c": 0.13143,
    "h": 318.1
  },
  "luminance": 0.09244
}

Semantic roles & 50–950 ramp

primary
#783E89
secondary
#82AE74
accent
#CE5A74
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #783E89

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

Preview Lab → · Contrast checker → · Palette generator →

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