#784B7C#784B7C

#784B7C is a mid, moderate purple. Relative luminance 0.105; OKLCH L 48.3% C 0.093 H 324.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#784B7C
RGBrgb(120, 75, 124)
HSLhsl(295, 25%, 39%)
HSVhsv(295, 40%, 49%)
CMYKcmyk(3.2%, 39.5%, 0%, 51.4%)
CIE-LABlab(38.69, 27.68, -20.06)
CIE-LCHlch(38.69, 34.19, 324.07°)
OKLaboklab(48.26% 0.0754 -0.0548)
OKLCHoklch(48.26% 0.093 324)
XYZxyz(13.8995, 10.4810, 20.3557)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784B7C #4F7C4B
analogous
#604B7C #784B7C #7C4B68
triadic
#784B7C #7C784B #4B7C78
tetradic
#784B7C #7C604B #4F7C4B #4B687C
square
#784B7C #7C604B #4F7C4B #4B687C
split-complementary
#784B7C #687C4B #4B7C60
monochromatic
#2E1D30 #533456 #784B7C #9C63A1 #B489B8

Accessibility & contrast

On white

6.78
#784B7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#784B7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784B7C
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784B7C#FFFFFF#000000##FFFFFF
##784B7C1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587E
Deuteranopia (green-blind)
#525D7A
Tritanopia (blue-blind)
#7A505E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #784b7c;
/* rgb */ color: rgb(120, 75, 124);
/* oklch */ color: oklch(48.3% 0.093 324.0);
Tailwind
colors: {
  custom: {
    50: '#a07ea2',
    500: '#784b7c',
    950: '#000000',
  },
}
SCSS
$custom: #784b7c;
$custom-light: #a07ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#784b7c",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 124
  },
  "hsl": {
    "h": 295.102,
    "s": 24.623,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48264,
    "c": 0.09323,
    "h": 324
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#784B7C
secondary
#82A47F
accent
#C1676E
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0F0A0F
muted
#7E7C7E

Preview Lab

Preview with #784B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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