#784B71#784B71

#784B71 is a mid, moderate purple. Relative luminance 0.102; OKLCH L 47.8% C 0.082 H 332.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#784B71
RGBrgb(120, 75, 113)
HSLhsl(309, 23%, 38%)
HSVhsv(309, 38%, 47%)
CMYKcmyk(0%, 37.5%, 5.8%, 52.9%)
CIE-LABlab(38.23, 25.45, -13.97)
CIE-LCHlch(38.23, 29.03, 331.24°)
OKLaboklab(47.77% 0.0724 -0.0377)
OKLCHoklch(47.77% 0.082 332.5)
XYZxyz(13.2423, 10.2181, 16.8943)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784B71 #4B7852
analogous
#684B78 #784B71 #784B5A
triadic
#784B71 #71784B #4B7178
tetradic
#784B71 #78684B #4B7852 #4B5A78
square
#784B71 #78684B #4B7852 #4B5A78
split-complementary
#784B71 #5A784B #4B7868
monochromatic
#2D1C2A #52334E #784B71 #9D6394 #B588AE

Accessibility & contrast

On white

6.90
#784B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#784B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784B71
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784B71#FFFFFF#000000##FFFFFF
##784B711.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5672
Deuteranopia (green-blind)
#555C70
Tritanopia (blue-blind)
#7C4D59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #784b71;
/* rgb */ color: rgb(120, 75, 113);
/* oklch */ color: oklch(47.8% 0.082 332.5);
Tailwind
colors: {
  custom: {
    50: '#a07e9a',
    500: '#784b71',
    950: '#000000',
  },
}
SCSS
$custom: #784b71;
$custom-light: #a07e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#784b71",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 113
  },
  "hsl": {
    "h": 309.333,
    "s": 23.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47765,
    "c": 0.08157,
    "h": 332.5
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#784B71
secondary
#7DA183
accent
#C07668
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0F0A0E
muted
#7E7C7E

Preview Lab

Preview with #784B71

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

Preview Lab → · Contrast checker → · Palette generator →

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