#784875#784875

#784875 is a mid, moderate purple. Relative luminance 0.099; OKLCH L 47.4% C 0.091 H 329.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#784875
RGBrgb(120, 72, 117)
HSLhsl(304, 25%, 38%)
HSVhsv(304, 40%, 47%)
CMYKcmyk(0%, 40%, 2.5%, 52.9%)
CIE-LABlab(37.69, 28.01, -17.29)
CIE-LCHlch(37.69, 32.91, 328.32°)
OKLaboklab(47.41% 0.0785 -0.0469)
OKLCHoklch(47.41% 0.091 329.1)
XYZxyz(13.2738, 9.9128, 18.0403)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784875 #48784B
analogous
#634878 #784875 #78485D
triadic
#784875 #757848 #487578
tetradic
#784875 #786348 #48784B #485D78
square
#784875 #786348 #48784B #485D78
split-complementary
#784875 #5D7848 #487863
monochromatic
#2B1A2A #523150 #784875 #9E5F9A #B685B3

Accessibility & contrast

On white

7.04
#784875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#784875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784875
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784875#FFFFFF#000000##FFFFFF
##7848751.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455577
Deuteranopia (green-blind)
#525B73
Tritanopia (blue-blind)
#7B4C59
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #784875;
/* rgb */ color: rgb(120, 72, 117);
/* oklch */ color: oklch(47.4% 0.091 329.1);
Tailwind
colors: {
  custom: {
    50: '#a07c9d',
    500: '#784875',
    950: '#000000',
  },
}
SCSS
$custom: #784875;
$custom-light: #a07c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#784875",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 303.75,
    "s": 25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47407,
    "c": 0.09147,
    "h": 329.1
  },
  "luminance": 0.09912
}

Semantic roles & 50–950 ramp

primary
#784875
secondary
#7AA27D
accent
#C16C66
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0F090E
muted
#7E7B7E

Preview Lab

Preview with #784875

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

Preview Lab → · Contrast checker → · Palette generator →

#784875 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva