#784F89#784F89

#784F89 is a mid, moderate purple. Relative luminance 0.114; OKLCH L 49.6% C 0.101 H 315.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#784F89
RGBrgb(120, 79, 137)
HSLhsl(282, 27%, 42%)
HSVhsv(282, 42%, 54%)
CMYKcmyk(12.4%, 42.3%, 0%, 46.3%)
CIE-LABlab(40.23, 28.16, -25.63)
CIE-LCHlch(40.23, 38.07, 317.70°)
OKLaboklab(49.62% 0.072 -0.0707)
OKLCHoklch(49.62% 0.101 315.5)
XYZxyz(15.0564, 11.3915, 25.0677)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784F89 #60894F
analogous
#5B4F89 #784F89 #894F7D
triadic
#784F89 #89784F #4F8978
tetradic
#784F89 #895B4F #60894F #4F7D89
square
#784F89 #895B4F #60894F #4F7D89
split-complementary
#784F89 #7D894F #4F895B
monochromatic
#34223B #563962 #784F89 #986BAA #B392C0

Accessibility & contrast

On white

6.41
#784F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#784F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784F89
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784F89#FFFFFF#000000##FFFFFF
##784F891.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C8B
Deuteranopia (green-blind)
#506087
Tritanopia (blue-blind)
#775765
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #784f89;
/* rgb */ color: rgb(120, 79, 137);
/* oklch */ color: oklch(49.6% 0.101 315.5);
Tailwind
colors: {
  custom: {
    50: '#a081ab',
    500: '#784f89',
    950: '#000000',
  },
}
SCSS
$custom: #784f89;
$custom-light: #a081ab;
$custom-dark: #000000;
JSON
{
  "hex": "#784f89",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 282.414,
    "s": 26.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49618,
    "c": 0.10094,
    "h": 315.5
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#784F89
secondary
#92AD87
accent
#C36580
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0F0A10
muted
#7E7C7F

Preview Lab

Preview with #784F89

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

Preview Lab → · Contrast checker → · Palette generator →

#784F89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva